Редагувати

Поділитися через


IXCLRDataMethodInstance Interface

Provides methods for querying information about a method instance.

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.

Methods

Method Description
GetILAddressMap Gets the IL to address mapping information.
GetRepresentativeEntryAddress Gets the most representative entry point address for the native compilation of all the possible entry points for a method.
Request Requests to populate the buffer given with the method instance's data.
StartEnumExtents Provides a handle for the enumeration of native code regions associated with the method.
EnumExtent Enumerates the native code regions associated with the method.
EndEnumExtents Releases the resources used by internal iterators used during native code range enumeration.
GetTokenAndScope Gets the metadata token and scope of the method.
GetILOffsetsByAddress Gets the IL offset(s) corresponding to the given address for the method..
GetAddressRangesByILOffset Returns the native code address(es) which correspond to a given IL offset within the method.
GetDefinition Gets the method definition which matches this method instance.
GetName Gets the fully qualified name for this method instance.

Remarks

This interface lives inside the runtime and is not exposed through any headers or library files. However, it's a COM interface that derives from IUnknown with GUID ECD73800-22CA-4b0d-AB55-E9BA7E6318A5 that can be obtained through the usual COM mechanisms.

Requirements

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

See also