[Supported in the .NET Framework 4.5.2 and later versions]
Gets a pointer to the code that this stack frame is executing.
This method is similar to the ICorDebugFrame::GetCode method, except that it optionally accesses code defined by the profiler's ReJIT request. Calling this method with a flags value of ILCODE_ORIGINAL_IL is equivalent to calling GetCode; if the method is instrumented, its IL will not be accessible. ILCODE_REJIT_IL allows the debugger to access the IL defined by the profiler's ReJIT request. If the IL is not instrumented, ppCode is null, and the method returns S_OK.
Platforms: See .NET Framework System Requirements.
Header: CorDebug.idl, CorDebug.h
.NET Framework Versions: 4.6 Preview, 4.5.2