Table of Contents

Enum MethodCodeType

Namespace
System.Runtime.CompilerServices
Assembly
mscorlib.dll

Defines how a method is implemented.

public enum MethodCodeType

Fields

IL = 0

This API supports the product infrastructure and is not intended to be used directly from your code. Specifies that the method implementation is in Microsoft intermediate language (MSIL).

Native = 1

This API supports the product infrastructure and is not intended to be used directly from your code. Specifies that the method is implemented in native code.

OPTIL = 2

This API supports the product infrastructure and is not intended to be used directly from your code. Specifies that the method implementation is in optimized intermediate language (OPTIL).

Runtime = 3

This API supports the product infrastructure and is not intended to be used directly from your code. Specifies that the method implementation is provided by the runtime.