Share via


MethodCodeType Enumeration

Defines how a particular method is implemented.

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

Syntax

[SerializableAttribute]
public enum MethodCodeType

Members

  Member name Description
IL = 0 A value specifying that the method implementation is in Microsoft intermediate language (MSIL).
Native = 1 A value specifying that the method is implemented in native code.
OPTIL = 2 A value that supports the .NET Micro Framework infrastructure and is not intended to be used directly from your code.
Runtime = 3 A value specifying that the method implementation is provided by the common language runtime (CLR).

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