[Supported in the .NET Framework 4.5.2 and later versions]
Returns a map from profiler-instrumented intermediate language (IL) offsets to original method IL offsets for this instance.
If the profiler sets the mapping by calling the ICorProfilerInfo::SetILInstrumentedCodeMap method, the debugger can call this method to retrieve the mapping and to use the mapping internally when calculating IL offsets for stack traces and variable lifetimes.
If cMap is 0 and pcMap is non-null, pcMap is set to the number of available COR_IL_MAP values. If cMap is non-zero, it represents the storage capacity of the map array. When the method returns, map contains a maximum of cMap items, and pcMap is set to the number of COR_IL_MAP values actually written to the map array.
If the IL hasn't been instrumented or the mapping wasn't provided by a profiler, this method returns S_OK and sets pcMap to 0.
Platforms: See .NET Framework System Requirements.
Header: CorDebug.idl, CorDebug.h
.NET Framework Versions: 4.5.2