1 // CS0592: The attribute `SimpleAttribute' is not valid on this declaration type. It is valid on `constructor' declarations only
6 [AttributeUsage (AttributeTargets
.Constructor
, AllowMultiple
= true)]
7 public class SimpleAttribute
: Attribute
{
11 public string MyNamedArg
;
13 public SimpleAttribute (string name
)
21 [Simple ("Dummy", MyNamedArg
= "Dude!")]
24 public static void Main ()