Merge branch 'master' of github.com:mono/mono
[mono.git] / mcs / errors / cs0617-2.cs
1 // 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
2 // Line: 11
3
4 class BazAttribute : System.Attribute 
5 {
6         public object foo3 { set {} }
7 }
8
9 class Test 
10 {
11         [Baz (foo3 = 3)] void f3() {}
12 }