using System; using System.Runtime.InteropServices; using Cpp2IlInjected; namespace System { /// Specifies the application elements on which it is valid to apply an attribute. // Token: 0x020000BF RID: 191 [Token(Token = "0x20000BF")] [Flags] [ComVisible(true)] [Serializable] public enum AttributeTargets { /// Attribute can be applied to an assembly. // Token: 0x04000208 RID: 520 [Token(Token = "0x4000208")] Assembly = 1, /// Attribute can be applied to a module. // Token: 0x04000209 RID: 521 [Token(Token = "0x4000209")] Module = 2, /// Attribute can be applied to a class. // Token: 0x0400020A RID: 522 [Token(Token = "0x400020A")] Class = 4, /// Attribute can be applied to a structure; that is, a value type. // Token: 0x0400020B RID: 523 [Token(Token = "0x400020B")] Struct = 8, /// Attribute can be applied to an enumeration. // Token: 0x0400020C RID: 524 [Token(Token = "0x400020C")] Enum = 16, /// Attribute can be applied to a constructor. // Token: 0x0400020D RID: 525 [Token(Token = "0x400020D")] Constructor = 32, /// Attribute can be applied to a method. // Token: 0x0400020E RID: 526 [Token(Token = "0x400020E")] Method = 64, /// Attribute can be applied to a property. // Token: 0x0400020F RID: 527 [Token(Token = "0x400020F")] Property = 128, /// Attribute can be applied to a field. // Token: 0x04000210 RID: 528 [Token(Token = "0x4000210")] Field = 256, /// Attribute can be applied to an event. // Token: 0x04000211 RID: 529 [Token(Token = "0x4000211")] Event = 512, /// Attribute can be applied to an interface. // Token: 0x04000212 RID: 530 [Token(Token = "0x4000212")] Interface = 1024, /// Attribute can be applied to a parameter. // Token: 0x04000213 RID: 531 [Token(Token = "0x4000213")] Parameter = 2048, /// Attribute can be applied to a delegate. // Token: 0x04000214 RID: 532 [Token(Token = "0x4000214")] Delegate = 4096, /// Attribute can be applied to a return value. // Token: 0x04000215 RID: 533 [Token(Token = "0x4000215")] ReturnValue = 8192, /// Attribute can be applied to a generic parameter. // Token: 0x04000216 RID: 534 [Token(Token = "0x4000216")] GenericParameter = 16384, /// Attribute can be applied to any application element. // Token: 0x04000217 RID: 535 [Token(Token = "0x4000217")] All = 32767 } }