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