Share via


ICorDebugFunction::GetNativeCode Method

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

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 Microsoft intermediate language (MSIL) 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 .NET Framework System Requirements.

Header: CorDebug.idl

Library: CorGuids.lib

.NET Framework Versions: 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0, 1.1, 1.0

See Also

Reference

ICorDebugFunction Interface