retag
[mcs.git] / errors / cs0617-2.cs
blob0fc21238475d550e7beb2f912680847e05064f45
1 // cs0617-2.cs: `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
2 // Line: 11
4 class BazAttribute : System.Attribute
6 public object foo3 { set {} }
9 class Test
11 [Baz (foo3 = 3)] void f3() {}