Share via


MethodImplOptions Enumeration

Defines the details of how a particular method is implemented.

Namespace: System.Runtime.CompilerServices
Assembly: mscorlib (in mscorlib.dll)

Syntax

[SerializableAttribute]
public enum MethodImplOptions

Members

  Member name Description
ForwardRef = 16 A value specifying that the method is declared, but its implementation is provided elsewhere.
InternalCall = 4069 A value specifying an internal call. An internal call is a call to a method implemented within the common language runtime (CLR) itself.
NoInlining = 8 A value specifying that the method cannot be inlined.
PreserveSig = 128 A value specifying that the method signature is exported exactly as declared.
Synchronized = 32 A value specifying the method can be executed by only one thread at a time.
Unmanaged = 4 A value specifying that the method is implemented in unmanaged code.

Remarks

Items in this namespace are for use by Microsoft® Visual Studio®. You should not try to use them in your applications.

Version Information

Available in the .NET Micro Framework versions 2.0, 2.5, 3.0, 4.0, 4.1, and 4.2.

See Also

Reference

System.Runtime.CompilerServices Namespace