ICorDebugCode::GetILToNativeMapping Method

Gets an array of "COR_DEBUG_IL_TO_NATIVE_MAP" instances that represent mappings from common intermediate language (CIL) offsets to native offsets.

Syntax

HRESULT GetILToNativeMapping (
    [in]  ULONG32    cMap,
    [out] ULONG32    *pcMap,
    [out, size_is(cMap), length_is(*pcMap)]
        COR_DEBUG_IL_TO_NATIVE_MAP map[]
);

Parameters

cMap [in] The size of the map array.

pcMap [out] A pointer to the actual number of elements returned in the map array.

map [out] An array of COR_DEBUG_IL_TO_NATIVE_MAP structures, each of which represents a mapping from a CIL offset to a native offset.

There is no ordering to the array of elements returned.

Remarks

The GetILToNativeMapping method returns meaningful results only if this "ICorDebugCode" instance represents native code that was just-in-time (JIT) compiled from CIL code.

Requirements

Platforms: See System Requirements.

Header: CorDebug.idl, CorDebug.h

Library: CorGuids.lib

.NET Framework Versions: Available since 1.0

See also