Редактиране

Споделяне чрез


ILCodeKind Enumeration

[Supported in the .NET Framework 4.5.2 and later versions]

Provides values that specify whether the debugger is able to access local variables or code added in profiler ReJIT instrumentation.

Syntax

typedef enum ILCodeKind {
   ILCODE_ORIGINAL_IL = 0x1,
   ILCODE_REJIT_IL = 0x2,
} ILCodeKind;

Members

Member name Description
ILCODE_ORIGINAL_IL The debugger does not have access to information from ReJIT instrumentation.
ILCODE_REJIT_IL The debugger has access to information from ReJIT instrumentation.

Remarks

A member of the ILCodeKind enumeration can be passed to the EnumerateLocalVariablesEx and GetLocalVariableEx methods to determine whether the debugger can access variables added in profiler ReJIT instrumentation, and to the GetCodeEx method to determine whether the debugger can access instrumented IL.

Requirements

Platforms: See System Requirements.

Header: CorDebug.idl, CorDebug.h

Library: CorGuids.lib

.NET Framework Versions: Available since 4.5.2

See also