Share via


ICorDebugFunction::GetILCode Method

Gets the ICorDebugCode instance that represents the Microsoft intermediate language (MSIL) code associated with this ICorDebugFunction object.

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

Parameters

  • ppCode
    [out] A pointer to the ICorDebugCode instance, or null, if the function was not compiled into MSIL.

Remarks

If Edit and Continue has been allowed on this function, the GetILCode method will get the MSIL code corresponding to this function's edited version of the code in the common language runtime (CLR).

Requirements

Platforms: Windows 2000, Windows XP, Windows Server 2003 family

Header: CorDebug.idl

Library: CorGuids.lib

.NET Framework Version: 2.0, 1.1, 1.0

See Also

Concepts

ICorDebugFunction Interface