Merge pull request #3565 from vargaz/no-free-imt-thunks
[mono.git] / mcs / errors / cs1016.cs
1 // CS1016: Named attribute arguments must appear after the positional arguments
2 // Line: 19
3
4 using System;
5 using System.Runtime.CompilerServices;
6
7 class Attr: Attribute
8 {
9     public Attr (int i) {}
10     
11     public string Arg {
12         set {}
13         get { return "a"; }
14     }
15 }
16
17 public class E
18 {
19     [Attr (Arg = "xxx", 3)]
20     public void Method () {}
21 }