Files
mono/mcs/errors/cs1016.cs
T
Marek Safar 6094dea7af 2004-08-04 Marek Safar <[email protected]>
* 62 new error tests.

svn path=/trunk/mcs/; revision=31867
2004-08-04 14:04:42 +00:00

21 lines
322 B
C#

// cs1016.cs: Named attribute argument expected
// 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 () {}
}