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: See .NET Framework System Requirements.

Header: CorDebug.idl, CorDebug.h

Library: CorGuids.lib

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

See Also

Reference

ICorDebugFunction Interface