repo.or.cz
/
mcs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
avoid using a custom sources file for the net_2_1_raw profile
[mcs.git]
/
errors
/
cs0617-3.cs
blob
033645354a8f69cbd9e9a7f082f112f4dd7b50a5
1
// CS0617: `Foo' is not a valid named attribute argument. Named attribute arguments must be fields which are not readonly, static, const or read-write properties which are public and not static
2
// Line: 11
3
4
using
System
;
5
6
public sealed class
FooAttribute
:
Attribute
7
{
8
public static int
Foo
;
9
}
10
11
[
Foo
(
Foo
=
1
)]
12
public class
Tests
13
{
14
}