This documentation is archived and is not being maintained.
MethodCodeType Enumeration
.NET Framework 1.1
Defines how a method is implemented.
This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.
[Visual Basic] <Flags> <Serializable> Public Enum MethodCodeType [C#] [Flags] [Serializable] public enum MethodCodeType [C++] [Flags] [Serializable] __value public enum MethodCodeType [JScript] public Flags Serializable enum MethodCodeType
Remarks
Used with MethodImplAttribute.
The classes in System.Runtime.CompilerServices are for compiler writers use only.
Members
| Member name | Description | Value |
|---|---|---|
| IL Supported by the .NET Compact Framework. | Specifies that the method implementation is in Microsoft intermediate language (MSIL). | 0 |
| Native Supported by the .NET Compact Framework. | Specifies that the method is implemented in native code. | 1 |
| OPTIL Supported by the .NET Compact Framework. | This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. | 2 |
| Runtime Supported by the .NET Compact Framework. | Specifies that the method implementation is provided by the runtime. | 3 |
Requirements
Namespace: System.Runtime.CompilerServices
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework
Assembly: Mscorlib (in Mscorlib.dll)
See Also
Show: