blob: 69a364603181beb4264556df322e2741c0cb64cf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
// CS1016: Named attribute arguments must appear after the positional arguments
// Line: 19
using System;
using System.Runtime.CompilerServices;
class Attr: Attribute
{
public Attr (int i) {}
public string Arg {
set {}
get { return "a"; }
}
}
public class E
{
[Attr (Arg = "xxx", 3)]
public void Method () {}
}
|