ICorDebugFunction::GetNativeCode Method

Gets the native code for the function that is represented by this ICorDebugFunction instance.

Syntax

HRESULT GetNativeCode (
    [out] ICorDebugCode **ppCode
);

Parameters

ppCode [out] A pointer to the ICorDebugCode instance that represents the native code for this function, or null, if this function is common intermediate language (CIL) code that has not been just-in-time (JIT) compiled.

Remarks

If the function that is represented by this ICorDebugFunction instance has been JIT-compiled more than once, as in the case of generic types, GetNativeCode returns a random native code object.

Requirements

Platforms: See System Requirements.

Header: CorDebug.idl, CorDebug.h

Library: CorGuids.lib

.NET Framework Versions: Available since 1.0