Files
27Aug2021-Cpp2IL-Dump/mscorlib/System/Reflection/MethodImplAttributes.cs
T
niko c12fbe3fc6 m
2026-04-12 16:51:38 +02:00

81 lines
3.2 KiB
C#

using System;
using System.Runtime.InteropServices;
using Cpp2IlInjected;
namespace System.Reflection
{
/// <summary>Specifies flags for the attributes of a method implementation.</summary>
// Token: 0x02000231 RID: 561
[Token(Token = "0x2000231")]
[ComVisible(true)]
[Serializable]
public enum MethodImplAttributes
{
/// <summary>Specifies flags about code type.</summary>
// Token: 0x04000ABB RID: 2747
[Token(Token = "0x4000ABB")]
CodeTypeMask = 3,
/// <summary>Specifies that the method implementation is in Microsoft intermediate language (MSIL).</summary>
// Token: 0x04000ABC RID: 2748
[Token(Token = "0x4000ABC")]
IL = 0,
/// <summary>Specifies that the method implementation is native.</summary>
// Token: 0x04000ABD RID: 2749
[Token(Token = "0x4000ABD")]
Native,
/// <summary>Specifies that the method implementation is in Optimized Intermediate Language (OPTIL).</summary>
// Token: 0x04000ABE RID: 2750
[Token(Token = "0x4000ABE")]
OPTIL,
/// <summary>Specifies that the method implementation is provided by the runtime.</summary>
// Token: 0x04000ABF RID: 2751
[Token(Token = "0x4000ABF")]
Runtime,
/// <summary>Specifies whether the method is implemented in managed or unmanaged code.</summary>
// Token: 0x04000AC0 RID: 2752
[Token(Token = "0x4000AC0")]
ManagedMask,
/// <summary>Specifies that the method is implemented in unmanaged code.</summary>
// Token: 0x04000AC1 RID: 2753
[Token(Token = "0x4000AC1")]
Unmanaged = 4,
/// <summary>Specifies that the method is implemented in managed code.</summary>
// Token: 0x04000AC2 RID: 2754
[Token(Token = "0x4000AC2")]
Managed = 0,
/// <summary>Specifies that the method is not defined.</summary>
// Token: 0x04000AC3 RID: 2755
[Token(Token = "0x4000AC3")]
ForwardRef = 16,
/// <summary>Specifies that the method signature is exported exactly as declared.</summary>
// Token: 0x04000AC4 RID: 2756
[Token(Token = "0x4000AC4")]
PreserveSig = 128,
/// <summary>Specifies an internal call.</summary>
// Token: 0x04000AC5 RID: 2757
[Token(Token = "0x4000AC5")]
InternalCall = 4096,
/// <summary>Specifies that the method is single-threaded through the body. Static methods (<see langword="Shared" /> in Visual Basic) lock on the type, whereas instance methods lock on the instance. You can also use the C# lock statement or the Visual Basic SyncLock statement for this purpose.</summary>
// Token: 0x04000AC6 RID: 2758
[Token(Token = "0x4000AC6")]
Synchronized = 32,
/// <summary>Specifies that the method cannot be inlined.</summary>
// Token: 0x04000AC7 RID: 2759
[Token(Token = "0x4000AC7")]
NoInlining = 8,
/// <summary>Specifies that the method should be inlined wherever possible.</summary>
// Token: 0x04000AC8 RID: 2760
[Token(Token = "0x4000AC8")]
[ComVisible(false)]
AggressiveInlining = 256,
/// <summary>Specifies that the method is not optimized by the just-in-time (JIT) compiler or by native code generation (see Ngen.exe) when debugging possible code generation problems.</summary>
// Token: 0x04000AC9 RID: 2761
[Token(Token = "0x4000AC9")]
NoOptimization = 64,
/// <summary>Specifies a range check value.</summary>
// Token: 0x04000ACA RID: 2762
[Token(Token = "0x4000ACA")]
MaxMethodImplVal = 65535
}
}