CLRDATA_METHDEF_EXTENT Structure

Describes an IL code region associated with a method.

Note

This API was originally designed for internal use in the runtime. Although it is now supported for 3rd party use, we recommend working with ICorDebug and ICorProfiler APIs when possible.

Syntax

struct CLRDATA_METHDEF_EXTENT
{
    CLRDATA_ADDRESS startAddress;
    CLRDATA_ADDRESS endAddress;
    ULONG32 enCVersion
    CLRDataMethodDefinitionExtentType type;
};

Members

Member Description
startAddress The start address of an IL code region associated with a method.
endAddress The end address of an IL code region associated with a method.
enCVersion The EnC version of the code in this extent.
type The type of extent associated with the method. The CLRDataMethodDefinitionExtentType enumeration presently has one value: CLRDATA_METHDEF_IL (0)

Remarks

This structure lives inside the runtime and is not exposed through any headers or library files. To use it, define the structure as specified above, where CLRDATA_ADDRESS is a 64-bit unsigned integer.

Requirements

Platforms: See System Requirements. Header: None Library: None .NET Framework Versions: Available since 4.7

See also