Files
Aug2021-Cpp2IL-Dump/mscorlib/System/Reflection/MethodImplAttributes.cs
T
2026-04-10 22:50:51 +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: 0x0200022A RID: 554
[Token(Token = "0x200022A")]
[ComVisible(true)]
[Serializable]
public enum MethodImplAttributes
{
/// <summary>Specifies flags about code type.</summary>
// Token: 0x04000AB1 RID: 2737
[Token(Token = "0x4000AB1")]
CodeTypeMask = 3,
/// <summary>Specifies that the method implementation is in Microsoft intermediate language (MSIL).</summary>
// Token: 0x04000AB2 RID: 2738
[Token(Token = "0x4000AB2")]
IL = 0,
/// <summary>Specifies that the method implementation is native.</summary>
// Token: 0x04000AB3 RID: 2739
[Token(Token = "0x4000AB3")]
Native,
/// <summary>Specifies that the method implementation is in Optimized Intermediate Language (OPTIL).</summary>
// Token: 0x04000AB4 RID: 2740
[Token(Token = "0x4000AB4")]
OPTIL,
/// <summary>Specifies that the method implementation is provided by the runtime.</summary>
// Token: 0x04000AB5 RID: 2741
[Token(Token = "0x4000AB5")]
Runtime,
/// <summary>Specifies whether the method is implemented in managed or unmanaged code.</summary>
// Token: 0x04000AB6 RID: 2742
[Token(Token = "0x4000AB6")]
ManagedMask,
/// <summary>Specifies that the method is implemented in unmanaged code.</summary>
// Token: 0x04000AB7 RID: 2743
[Token(Token = "0x4000AB7")]
Unmanaged = 4,
/// <summary>Specifies that the method is implemented in managed code.</summary>
// Token: 0x04000AB8 RID: 2744
[Token(Token = "0x4000AB8")]
Managed = 0,
/// <summary>Specifies that the method is not defined.</summary>
// Token: 0x04000AB9 RID: 2745
[Token(Token = "0x4000AB9")]
ForwardRef = 16,
/// <summary>Specifies that the method signature is exported exactly as declared.</summary>
// Token: 0x04000ABA RID: 2746
[Token(Token = "0x4000ABA")]
PreserveSig = 128,
/// <summary>Specifies an internal call.</summary>
// Token: 0x04000ABB RID: 2747
[Token(Token = "0x4000ABB")]
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: 0x04000ABC RID: 2748
[Token(Token = "0x4000ABC")]
Synchronized = 32,
/// <summary>Specifies that the method cannot be inlined.</summary>
// Token: 0x04000ABD RID: 2749
[Token(Token = "0x4000ABD")]
NoInlining = 8,
/// <summary>Specifies that the method should be inlined wherever possible.</summary>
// Token: 0x04000ABE RID: 2750
[Token(Token = "0x4000ABE")]
[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: 0x04000ABF RID: 2751
[Token(Token = "0x4000ABF")]
NoOptimization = 64,
/// <summary>Specifies a range check value.</summary>
// Token: 0x04000AC0 RID: 2752
[Token(Token = "0x4000AC0")]
MaxMethodImplVal = 65535
}
}