1 // CS0617: `MyNamedArg' is not a valid named attribute argument. Named attribute arguments must be fields which are not readonly, static, const or read-write properties which are public and not static
6 [AttributeUsage (AttributeTargets.Class, AllowMultiple = true)]
7 public class SimpleAttribute : Attribute
11 public readonly string MyNamedArg;
13 public SimpleAttribute (string name)
19 [Simple ("Dummy", MyNamedArg = "Dude!")]
22 public static void Main ()