Files
Dec2017-Script-Dump/mscorlib/System/Reflection/MethodImplAttributes.cs
T
2026-06-04 11:42:34 +02:00

56 lines
2.3 KiB
C#

using System;
using System.Runtime.InteropServices;
namespace System.Reflection
{
/// <summary>Specifies flags for the attributes of a method implementation.</summary>
// Token: 0x0200024E RID: 590
[ComVisible(true)]
[Serializable]
public enum MethodImplAttributes
{
/// <summary>Specifies flags about code type.</summary>
// Token: 0x04000A95 RID: 2709
CodeTypeMask = 3,
/// <summary>Specifies that the method implementation is in Microsoft intermediate language (MSIL).</summary>
// Token: 0x04000A96 RID: 2710
IL = 0,
/// <summary>Specifies that the method implementation is native.</summary>
// Token: 0x04000A97 RID: 2711
Native,
/// <summary>Specifies that the method implementation is in Optimized Intermediate Language (OPTIL).</summary>
// Token: 0x04000A98 RID: 2712
OPTIL,
/// <summary>Specifies that the method implementation is provided by the runtime.</summary>
// Token: 0x04000A99 RID: 2713
Runtime,
/// <summary>Specifies whether the method is implemented in managed or unmanaged code.</summary>
// Token: 0x04000A9A RID: 2714
ManagedMask,
/// <summary>Specifies that the method is implemented in unmanaged code.</summary>
// Token: 0x04000A9B RID: 2715
Unmanaged = 4,
/// <summary>Specifies that the method is implemented in managed code. </summary>
// Token: 0x04000A9C RID: 2716
Managed = 0,
/// <summary>Specifies that the method is not defined.</summary>
// Token: 0x04000A9D RID: 2717
ForwardRef = 16,
/// <summary>Specifies that the method signature is exported exactly as declared.</summary>
// Token: 0x04000A9E RID: 2718
PreserveSig = 128,
/// <summary>Specifies an internal call.</summary>
// Token: 0x04000A9F RID: 2719
InternalCall = 4096,
/// <summary>Specifies that the method is single-threaded through the body. Static methods (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 Lock function for this purpose. </summary>
// Token: 0x04000AA0 RID: 2720
Synchronized = 32,
/// <summary>Specifies that the method cannot be inlined.</summary>
// Token: 0x04000AA1 RID: 2721
NoInlining = 8,
/// <summary>Specifies a range check value.</summary>
// Token: 0x04000AA2 RID: 2722
MaxMethodImplVal = 65535
}
}