87 lines
3.9 KiB
C#
87 lines
3.9 KiB
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
|
|
namespace System.Reflection
|
|
{
|
|
/// <summary>Specifies flags for method attributes. These flags are defined in the corhdr.h file.</summary>
|
|
// Token: 0x0200024B RID: 587
|
|
[ComVisible(true)]
|
|
[Flags]
|
|
[Serializable]
|
|
public enum MethodAttributes
|
|
{
|
|
/// <summary>Retrieves accessibility information.</summary>
|
|
// Token: 0x04000A76 RID: 2678
|
|
MemberAccessMask = 7,
|
|
/// <summary>Indicates that the member cannot be referenced.</summary>
|
|
// Token: 0x04000A77 RID: 2679
|
|
PrivateScope = 0,
|
|
/// <summary>Indicates that the method is accessible only to the current class.</summary>
|
|
// Token: 0x04000A78 RID: 2680
|
|
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: 0x04000A79 RID: 2681
|
|
FamANDAssem = 2,
|
|
/// <summary>Indicates that the method is accessible to any class of this assembly.</summary>
|
|
// Token: 0x04000A7A RID: 2682
|
|
Assembly = 3,
|
|
/// <summary>Indicates that the method is accessible only to members of this class and its derived classes.</summary>
|
|
// Token: 0x04000A7B RID: 2683
|
|
Family = 4,
|
|
/// <summary>Indicates that the method is accessible to derived classes anywhere, as well as to any class in the assembly.</summary>
|
|
// Token: 0x04000A7C RID: 2684
|
|
FamORAssem = 5,
|
|
/// <summary>Indicates that the method is accessible to any object for which this object is in scope.</summary>
|
|
// Token: 0x04000A7D RID: 2685
|
|
Public = 6,
|
|
/// <summary>Indicates that the method is defined on the type; otherwise, it is defined per instance.</summary>
|
|
// Token: 0x04000A7E RID: 2686
|
|
Static = 16,
|
|
/// <summary>Indicates that the method cannot be overridden.</summary>
|
|
// Token: 0x04000A7F RID: 2687
|
|
Final = 32,
|
|
/// <summary>Indicates that the method is virtual.</summary>
|
|
// Token: 0x04000A80 RID: 2688
|
|
Virtual = 64,
|
|
/// <summary>Indicates that the method hides by name and signature; otherwise, by name only.</summary>
|
|
// Token: 0x04000A81 RID: 2689
|
|
HideBySig = 128,
|
|
/// <summary>Retrieves vtable attributes.</summary>
|
|
// Token: 0x04000A82 RID: 2690
|
|
VtableLayoutMask = 256,
|
|
/// <summary>Indicates that the method can only be overridden when it is also accessible.</summary>
|
|
// Token: 0x04000A83 RID: 2691
|
|
CheckAccessOnOverride = 512,
|
|
/// <summary>Indicates that the method will reuse an existing slot in the vtable. This is the default behavior.</summary>
|
|
// Token: 0x04000A84 RID: 2692
|
|
ReuseSlot = 0,
|
|
/// <summary>Indicates that the method always gets a new slot in the vtable.</summary>
|
|
// Token: 0x04000A85 RID: 2693
|
|
NewSlot = 256,
|
|
/// <summary>Indicates that the class does not provide an implementation of this method.</summary>
|
|
// Token: 0x04000A86 RID: 2694
|
|
Abstract = 1024,
|
|
/// <summary>Indicates that the method is special. The name describes how this method is special.</summary>
|
|
// Token: 0x04000A87 RID: 2695
|
|
SpecialName = 2048,
|
|
/// <summary>Indicates that the method implementation is forwarded through PInvoke (Platform Invocation Services).</summary>
|
|
// Token: 0x04000A88 RID: 2696
|
|
PinvokeImpl = 8192,
|
|
/// <summary>Indicates that the managed method is exported by thunk to unmanaged code.</summary>
|
|
// Token: 0x04000A89 RID: 2697
|
|
UnmanagedExport = 8,
|
|
/// <summary>Indicates that the common language runtime checks the name encoding.</summary>
|
|
// Token: 0x04000A8A RID: 2698
|
|
RTSpecialName = 4096,
|
|
/// <summary>Indicates a reserved flag for runtime use only.</summary>
|
|
// Token: 0x04000A8B RID: 2699
|
|
ReservedMask = 53248,
|
|
/// <summary>Indicates that the method has security associated with it. Reserved flag for runtime use only.</summary>
|
|
// Token: 0x04000A8C RID: 2700
|
|
HasSecurity = 16384,
|
|
/// <summary>Indicates that the method calls another method containing security code. Reserved flag for runtime use only.</summary>
|
|
// Token: 0x04000A8D RID: 2701
|
|
RequireSecObject = 32768
|
|
}
|
|
}
|