**** Merged from MCS ****
[mono-project.git] / mcs / errors / cs1016.cs
blob890c5cda0dbb72e2b5915d5f8aed590032ecd59f
1 // cs1016.cs: Named attribute argument expected
2 // Line: 19
4 using System;
5 using System.Runtime.CompilerServices;
7 class Attr: Attribute
9 public Attr (int i) {}
11 public string Arg {
12 set {}
13 get { return "a"; }
17 public class E
19 [Attr (Arg = "xxx", 3)]
20 public void Method () {}