The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
MethodCodeType Enumeration
.NET Framework 3.0
Defines how a method is implemented.
Namespace: System.Runtime.CompilerServices
Assembly: mscorlib (in mscorlib.dll)
Assembly: mscorlib (in mscorlib.dll)
'Declaration <SerializableAttribute> _ <ComVisibleAttribute(True)> _ Public Enumeration MethodCodeType 'Usage Dim instance As MethodCodeType
/** @attribute SerializableAttribute() */ /** @attribute ComVisibleAttribute(true) */ public enum MethodCodeType
SerializableAttribute ComVisibleAttribute(true) public enum MethodCodeType
| Member name | Description | |
|---|---|---|
![]() | IL | Specifies that the method implementation is in Microsoft intermediate language (MSIL). |
![]() | Native | Specifies that the method is implemented in native code. |
![]() | OPTIL | Specifies that the method implementation is in optimized intermediate language (OPTIL). |
![]() | Runtime | 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.
Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.Community Additions
Show:
