ICorDebugFunction::GetILCode Method

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

Syntax

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

Parameters

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

Remarks

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

Requirements

Platforms: See System Requirements.

Header: CorDebug.idl, CorDebug.h

Library: CorGuids.lib

.NET Framework Versions: Available since 1.0