MethodCodeType Enumeration

 

This API supports the product infrastructure and is not intended to be used directly from your code.

Defines how a method is implemented.

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

[SerializableAttribute]
[ComVisibleAttribute(true)]
public enum MethodCodeType

Member nameDescription
IL

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

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

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

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.

Used with MethodImplAttribute.

The classes in System.Runtime.CompilerServices are for compiler writers use only.

.NET Framework
Available since 1.1
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show: