Edit

ISOSDacInterface::GetILForModule Method

Gets the intermediate language (IL) address that corresponds to a relative virtual address in a module.

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

HRESULT GetILForModule(CLRDATA_ADDRESS moduleAddr, DWORD rva, CLRDATA_ADDRESS *il);

Parameters

moduleAddr
[in] The address of the module.

rva
[in] The relative virtual address in the module.

il
[out] The address of the IL for the specified module address and relative virtual address.

Remarks

The provided method is part of the ISOSDacInterface interface and corresponds to the 17th slot of the virtual method table.

Requirements

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

See also