1 // CS0657: `field' is not a valid attribute location for this declaration. Valid attribute locations for this declaration are `param'. All attributes in this section will be ignored
3 // Compiler options: -warnaserror -langversion:experimental
7 public class FieldAttribute : System.Attribute
11 class X ([field:FieldAttribute] int foo)