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

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: 0x02000227 RID: 551
[Token(Token = "0x2000227")]
[Flags]
[ComVisible(true)]
[Serializable]
public enum MethodAttributes
{
/// <summary>Retrieves accessibility information.</summary>
// Token: 0x04000A93 RID: 2707
[Token(Token = "0x4000A93")]
MemberAccessMask = 7,
/// <summary>Indicates that the member cannot be referenced.</summary>
// Token: 0x04000A94 RID: 2708
[Token(Token = "0x4000A94")]
PrivateScope = 0,
/// <summary>Indicates that the method is accessible only to the current class.</summary>
// Token: 0x04000A95 RID: 2709
[Token(Token = "0x4000A95")]
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: 0x04000A96 RID: 2710
[Token(Token = "0x4000A96")]
FamANDAssem = 2,
/// <summary>Indicates that the method is accessible to any class of this assembly.</summary>
// Token: 0x04000A97 RID: 2711
[Token(Token = "0x4000A97")]
Assembly = 3,
/// <summary>Indicates that the method is accessible only to members of this class and its derived classes.</summary>
// Token: 0x04000A98 RID: 2712
[Token(Token = "0x4000A98")]
Family = 4,
/// <summary>Indicates that the method is accessible to derived classes anywhere, as well as to any class in the assembly.</summary>
// Token: 0x04000A99 RID: 2713
[Token(Token = "0x4000A99")]
FamORAssem = 5,
/// <summary>Indicates that the method is accessible to any object for which this object is in scope.</summary>
// Token: 0x04000A9A RID: 2714
[Token(Token = "0x4000A9A")]
Public = 6,
/// <summary>Indicates that the method is defined on the type; otherwise, it is defined per instance.</summary>
// Token: 0x04000A9B RID: 2715
[Token(Token = "0x4000A9B")]
Static = 16,
/// <summary>Indicates that the method cannot be overridden.</summary>
// Token: 0x04000A9C RID: 2716
[Token(Token = "0x4000A9C")]
Final = 32,
/// <summary>Indicates that the method is virtual.</summary>
// Token: 0x04000A9D RID: 2717
[Token(Token = "0x4000A9D")]
Virtual = 64,
/// <summary>Indicates that the method hides by name and signature; otherwise, by name only.</summary>
// Token: 0x04000A9E RID: 2718
[Token(Token = "0x4000A9E")]
HideBySig = 128,
/// <summary>Indicates that the method can only be overridden when it is also accessible.</summary>
// Token: 0x04000A9F RID: 2719
[Token(Token = "0x4000A9F")]
CheckAccessOnOverride = 512,
/// <summary>Retrieves vtable attributes.</summary>
// Token: 0x04000AA0 RID: 2720
[Token(Token = "0x4000AA0")]
VtableLayoutMask = 256,
/// <summary>Indicates that the method will reuse an existing slot in the vtable. This is the default behavior.</summary>
// Token: 0x04000AA1 RID: 2721
[Token(Token = "0x4000AA1")]
ReuseSlot = 0,
/// <summary>Indicates that the method always gets a new slot in the vtable.</summary>
// Token: 0x04000AA2 RID: 2722
[Token(Token = "0x4000AA2")]
NewSlot = 256,
/// <summary>Indicates that the class does not provide an implementation of this method.</summary>
// Token: 0x04000AA3 RID: 2723
[Token(Token = "0x4000AA3")]
Abstract = 1024,
/// <summary>Indicates that the method is special. The name describes how this method is special.</summary>
// Token: 0x04000AA4 RID: 2724
[Token(Token = "0x4000AA4")]
SpecialName = 2048,
/// <summary>Indicates that the method implementation is forwarded through PInvoke (Platform Invocation Services).</summary>
// Token: 0x04000AA5 RID: 2725
[Token(Token = "0x4000AA5")]
PinvokeImpl = 8192,
/// <summary>Indicates that the managed method is exported by thunk to unmanaged code.</summary>
// Token: 0x04000AA6 RID: 2726
[Token(Token = "0x4000AA6")]
UnmanagedExport = 8,
/// <summary>Indicates that the common language runtime checks the name encoding.</summary>
// Token: 0x04000AA7 RID: 2727
[Token(Token = "0x4000AA7")]
RTSpecialName = 4096,
/// <summary>Indicates a reserved flag for runtime use only.</summary>
// Token: 0x04000AA8 RID: 2728
[Token(Token = "0x4000AA8")]
ReservedMask = 53248,
/// <summary>Indicates that the method has security associated with it. Reserved flag for runtime use only.</summary>
// Token: 0x04000AA9 RID: 2729
[Token(Token = "0x4000AA9")]
HasSecurity = 16384,
/// <summary>Indicates that the method calls another method containing security code. Reserved flag for runtime use only.</summary>
// Token: 0x04000AAA RID: 2730
[Token(Token = "0x4000AAA")]
RequireSecObject = 32768
}
}