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