blob: a029d4168452d97169467cc18d8a533c642b3864 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
// CS0617: `foo3' 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
// Line: 11
class BazAttribute : System.Attribute
{
public object foo3 { set {} }
}
class Test
{
[Baz (foo3 = 3)] void f3() {}
}
|