Share via


CorMethodImpl Enumeration

Contains values that describe method implementation features.

typedef enum CorMethodImpl {
        
    miCodeTypeMask      =   0x0003,
    miIL                =   0x0000,
    miNative            =   0x0001,
    miOPTIL             =   0x0002,
    miRuntime           =   0x0003,

    miManagedMask       =   0x0004,
    miUnmanaged         =   0x0004,
    miManaged           =   0x0000,

    miForwardRef        =   0x0010,
    miPreserveSig       =   0x0080,

    miInternalCall      =   0x1000,
    miSynchronized      =   0x0020,
      miNoInlining        =   0x0008,
    miMaxMethodImplVal  =   0xffff
        
} CorMethodImpl;

Members

Member Description

miCodeTypeMask

Flags that describe code type.

miIL

Specifies that the method implementation is Microsoft intermediate language (MSIL).

miNative

Specifies that the method implementation is native.

miOPTIL

Specifies that the method implementation is OPTIL.

miRuntime

Specifies that the method implementation is provided by the common language runtime.

miManagedMask

Flags that indicate whether the code is managed or unmanaged.

miUnmanaged

Specifies that the method implementation is unmanaged.

miManaged

Specifies that the method implementation is managed.

miForwardRef

Specifies that the method is defined. This flag is used primarily in merge scenarios.

miPreserveSig

Specifies that the method signature cannot be mangled for an HRESULT conversion.

miInternalCall

Reserved for internal use by the common language runtime.

miSynchronized

Specifies that the method is single-threaded through its body.

miNoInlining

Specifies that the method cannot be inlined.

miMaxMethodImplVal

The maximum valid value for a CorMethodImpl.

Requirements

Platforms: Windows 2000, Windows XP, Windows Server 2003 family

Header: CorHdr.h

.NET Framework Version: 2.0, 1.1, 1.0

See Also

Other Resources

Metadata Enumerations