113 lines
4.7 KiB
C#
113 lines
4.7 KiB
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.Reflection
|
|
{
|
|
/// <summary>Specifies flags for method attributes. These flags are defined in the corhdr.h file.</summary>
|
|
// Token: 0x0200022E RID: 558
|
|
[Token(Token = "0x200022E")]
|
|
[Flags]
|
|
[ComVisible(true)]
|
|
[Serializable]
|
|
public enum MethodAttributes
|
|
{
|
|
/// <summary>Retrieves accessibility information.</summary>
|
|
// Token: 0x04000A9D RID: 2717
|
|
[Token(Token = "0x4000A9D")]
|
|
MemberAccessMask = 7,
|
|
/// <summary>Indicates that the member cannot be referenced.</summary>
|
|
// Token: 0x04000A9E RID: 2718
|
|
[Token(Token = "0x4000A9E")]
|
|
PrivateScope = 0,
|
|
/// <summary>Indicates that the method is accessible only to the current class.</summary>
|
|
// Token: 0x04000A9F RID: 2719
|
|
[Token(Token = "0x4000A9F")]
|
|
Private = 1,
|
|
/// <summary>Indicates that the method is accessible to members of this type and its derived types that are in this assembly only.</summary>
|
|
// Token: 0x04000AA0 RID: 2720
|
|
[Token(Token = "0x4000AA0")]
|
|
FamANDAssem = 2,
|
|
/// <summary>Indicates that the method is accessible to any class of this assembly.</summary>
|
|
// Token: 0x04000AA1 RID: 2721
|
|
[Token(Token = "0x4000AA1")]
|
|
Assembly = 3,
|
|
/// <summary>Indicates that the method is accessible only to members of this class and its derived classes.</summary>
|
|
// Token: 0x04000AA2 RID: 2722
|
|
[Token(Token = "0x4000AA2")]
|
|
Family = 4,
|
|
/// <summary>Indicates that the method is accessible to derived classes anywhere, as well as to any class in the assembly.</summary>
|
|
// Token: 0x04000AA3 RID: 2723
|
|
[Token(Token = "0x4000AA3")]
|
|
FamORAssem = 5,
|
|
/// <summary>Indicates that the method is accessible to any object for which this object is in scope.</summary>
|
|
// Token: 0x04000AA4 RID: 2724
|
|
[Token(Token = "0x4000AA4")]
|
|
Public = 6,
|
|
/// <summary>Indicates that the method is defined on the type; otherwise, it is defined per instance.</summary>
|
|
// Token: 0x04000AA5 RID: 2725
|
|
[Token(Token = "0x4000AA5")]
|
|
Static = 16,
|
|
/// <summary>Indicates that the method cannot be overridden.</summary>
|
|
// Token: 0x04000AA6 RID: 2726
|
|
[Token(Token = "0x4000AA6")]
|
|
Final = 32,
|
|
/// <summary>Indicates that the method is virtual.</summary>
|
|
// Token: 0x04000AA7 RID: 2727
|
|
[Token(Token = "0x4000AA7")]
|
|
Virtual = 64,
|
|
/// <summary>Indicates that the method hides by name and signature; otherwise, by name only.</summary>
|
|
// Token: 0x04000AA8 RID: 2728
|
|
[Token(Token = "0x4000AA8")]
|
|
HideBySig = 128,
|
|
/// <summary>Indicates that the method can only be overridden when it is also accessible.</summary>
|
|
// Token: 0x04000AA9 RID: 2729
|
|
[Token(Token = "0x4000AA9")]
|
|
CheckAccessOnOverride = 512,
|
|
/// <summary>Retrieves vtable attributes.</summary>
|
|
// Token: 0x04000AAA RID: 2730
|
|
[Token(Token = "0x4000AAA")]
|
|
VtableLayoutMask = 256,
|
|
/// <summary>Indicates that the method will reuse an existing slot in the vtable. This is the default behavior.</summary>
|
|
// Token: 0x04000AAB RID: 2731
|
|
[Token(Token = "0x4000AAB")]
|
|
ReuseSlot = 0,
|
|
/// <summary>Indicates that the method always gets a new slot in the vtable.</summary>
|
|
// Token: 0x04000AAC RID: 2732
|
|
[Token(Token = "0x4000AAC")]
|
|
NewSlot = 256,
|
|
/// <summary>Indicates that the class does not provide an implementation of this method.</summary>
|
|
// Token: 0x04000AAD RID: 2733
|
|
[Token(Token = "0x4000AAD")]
|
|
Abstract = 1024,
|
|
/// <summary>Indicates that the method is special. The name describes how this method is special.</summary>
|
|
// Token: 0x04000AAE RID: 2734
|
|
[Token(Token = "0x4000AAE")]
|
|
SpecialName = 2048,
|
|
/// <summary>Indicates that the method implementation is forwarded through PInvoke (Platform Invocation Services).</summary>
|
|
// Token: 0x04000AAF RID: 2735
|
|
[Token(Token = "0x4000AAF")]
|
|
PinvokeImpl = 8192,
|
|
/// <summary>Indicates that the managed method is exported by thunk to unmanaged code.</summary>
|
|
// Token: 0x04000AB0 RID: 2736
|
|
[Token(Token = "0x4000AB0")]
|
|
UnmanagedExport = 8,
|
|
/// <summary>Indicates that the common language runtime checks the name encoding.</summary>
|
|
// Token: 0x04000AB1 RID: 2737
|
|
[Token(Token = "0x4000AB1")]
|
|
RTSpecialName = 4096,
|
|
/// <summary>Indicates a reserved flag for runtime use only.</summary>
|
|
// Token: 0x04000AB2 RID: 2738
|
|
[Token(Token = "0x4000AB2")]
|
|
ReservedMask = 53248,
|
|
/// <summary>Indicates that the method has security associated with it. Reserved flag for runtime use only.</summary>
|
|
// Token: 0x04000AB3 RID: 2739
|
|
[Token(Token = "0x4000AB3")]
|
|
HasSecurity = 16384,
|
|
/// <summary>Indicates that the method calls another method containing security code. Reserved flag for runtime use only.</summary>
|
|
// Token: 0x04000AB4 RID: 2740
|
|
[Token(Token = "0x4000AB4")]
|
|
RequireSecObject = 32768
|
|
}
|
|
}
|