[Supported in the .NET Framework 4.5.2 and later versions]
Gets an enumerator for the local variable in the frame, and optionally includes variables added in profiler ReJIT instrumentation.
This method is similar to the EnumerateLocalVariables method, except that it optionally accesses variables added in profiler ReJIT instrumentation. Setting flags to ILCODE_ORIGINAL_IL is equivalent to calling ICorDebugILFrame::EnumerateLocalVariables. Setting flags to ILCODE_REJIT_IL allows the debugger to access the local variables added in profiler ReJIT instrumentation. If the intermediate language (IL) is not instrumented, the enumeration is empty and the method returns S_OK.
The enumerator may not include all of the local variables in the running method, since some of them may not be active.
Platforms: See .NET Framework System Requirements.
Header: CorDebug.idl, CorDebug.h
.NET Framework Versions: Available since 4.5.2