Gets the extent of native code associated with the specified function ID.
This method is obsolete. Use the ICorProfilerInfo2::GetCodeInfo2 method instead.
To optimize performance, the runtime in the .NET Framework version 2.0 splits the precompiled, native code of a function into multiple regions. Consequently, the GetCodeInfo method is obsolete in the .NET Framework 2.0 because it is unable to handle the extent of a function's native code. Profilers should switch to using the more general ICorProfilerInfo2::GetCodeInfo2 method instead.
This function uses caller-allocated buffers. For more information, see Caller-Allocated Buffers.
Platforms: See .NET Framework System Requirements.
Header: CorProf.idl, CorProf.h
.NET Framework Versions: 1.0