Files
2026-04-10 22:50:51 +02:00

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: 0x020000B8 RID: 184
[Token(Token = "0x20000B8")]
[Flags]
[ComVisible(true)]
[Serializable]
public enum AttributeTargets
{
/// <summary>Attribute can be applied to an assembly.</summary>
// Token: 0x040001FE RID: 510
[Token(Token = "0x40001FE")]
Assembly = 1,
/// <summary>Attribute can be applied to a module.</summary>
// Token: 0x040001FF RID: 511
[Token(Token = "0x40001FF")]
Module = 2,
/// <summary>Attribute can be applied to a class.</summary>
// Token: 0x04000200 RID: 512
[Token(Token = "0x4000200")]
Class = 4,
/// <summary>Attribute can be applied to a structure; that is, a value type.</summary>
// Token: 0x04000201 RID: 513
[Token(Token = "0x4000201")]
Struct = 8,
/// <summary>Attribute can be applied to an enumeration.</summary>
// Token: 0x04000202 RID: 514
[Token(Token = "0x4000202")]
Enum = 16,
/// <summary>Attribute can be applied to a constructor.</summary>
// Token: 0x04000203 RID: 515
[Token(Token = "0x4000203")]
Constructor = 32,
/// <summary>Attribute can be applied to a method.</summary>
// Token: 0x04000204 RID: 516
[Token(Token = "0x4000204")]
Method = 64,
/// <summary>Attribute can be applied to a property.</summary>
// Token: 0x04000205 RID: 517
[Token(Token = "0x4000205")]
Property = 128,
/// <summary>Attribute can be applied to a field.</summary>
// Token: 0x04000206 RID: 518
[Token(Token = "0x4000206")]
Field = 256,
/// <summary>Attribute can be applied to an event.</summary>
// Token: 0x04000207 RID: 519
[Token(Token = "0x4000207")]
Event = 512,
/// <summary>Attribute can be applied to an interface.</summary>
// Token: 0x04000208 RID: 520
[Token(Token = "0x4000208")]
Interface = 1024,
/// <summary>Attribute can be applied to a parameter.</summary>
// Token: 0x04000209 RID: 521
[Token(Token = "0x4000209")]
Parameter = 2048,
/// <summary>Attribute can be applied to a delegate.</summary>
// Token: 0x0400020A RID: 522
[Token(Token = "0x400020A")]
Delegate = 4096,
/// <summary>Attribute can be applied to a return value.</summary>
// Token: 0x0400020B RID: 523
[Token(Token = "0x400020B")]
ReturnValue = 8192,
/// <summary>Attribute can be applied to a generic parameter.</summary>
// Token: 0x0400020C RID: 524
[Token(Token = "0x400020C")]
GenericParameter = 16384,
/// <summary>Attribute can be applied to any application element.</summary>
// Token: 0x0400020D RID: 525
[Token(Token = "0x400020D")]
All = 32767
}
}