using System; using System.Runtime.InteropServices; namespace System { /// Specifies the application elements on which it is valid to apply an attribute. /// 2 // Token: 0x0200063E RID: 1598 [Flags] [ComVisible(true)] [Serializable] public enum AttributeTargets { /// Attribute can be applied to an assembly. // Token: 0x040017AD RID: 6061 Assembly = 1, /// Attribute can be applied to a module. // Token: 0x040017AE RID: 6062 Module = 2, /// Attribute can be applied to a class. // Token: 0x040017AF RID: 6063 Class = 4, /// Attribute can be applied to a structure; that is, a value type. // Token: 0x040017B0 RID: 6064 Struct = 8, /// Attribute can be applied to an enumeration. // Token: 0x040017B1 RID: 6065 Enum = 16, /// Attribute can be applied to a constructor. // Token: 0x040017B2 RID: 6066 Constructor = 32, /// Attribute can be applied to a method. // Token: 0x040017B3 RID: 6067 Method = 64, /// Attribute can be applied to a property. // Token: 0x040017B4 RID: 6068 Property = 128, /// Attribute can be applied to a field. // Token: 0x040017B5 RID: 6069 Field = 256, /// Attribute can be applied to an event. // Token: 0x040017B6 RID: 6070 Event = 512, /// Attribute can be applied to an interface. // Token: 0x040017B7 RID: 6071 Interface = 1024, /// Attribute can be applied to a parameter. // Token: 0x040017B8 RID: 6072 Parameter = 2048, /// Attribute can be applied to a delegate. // Token: 0x040017B9 RID: 6073 Delegate = 4096, /// Attribute can be applied to a return value. // Token: 0x040017BA RID: 6074 ReturnValue = 8192, /// Attribute can be applied to a generic parameter. // Token: 0x040017BB RID: 6075 GenericParameter = 16384, /// Attribute can be applied to any application element. // Token: 0x040017BC RID: 6076 All = 32767 } }