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