ICorDebugSymbolProvider::GetCodeRange Method

Gets the method start address and size given a relative virtual address (RVA) in a method.

Syntax

HRESULT GetCodeRange(
   [in] ULONG32 codeRva,
   [out] ULONG32* pCodeStartAddress,
   [out] ULONG32* pCodeSize
);

Parameters

codeRva [in] The relative virtual address (RVA) in a method.

pCodeStartAddress [out] A pointer to the starting address of the method.

pCodeSize A pointer to the method code size (the number of bytes of the method's code).

Remarks

Note

This method is available with .NET Native only.

Requirements

Platforms: See System Requirements.

Header: CorDebug.idl, CorDebug.h

Library: CorGuids.lib

.NET Framework Versions: Available since 4.6, .NET Native only

See also