Compartilhar via


DkmClrLocalVariable Class

Definition

Represents a local variable defined within a method scope. These are defined with ISymUnmanagedWriter::DefineLocalVariable or ISymUnmanagedWriter2::DefineLocalVariable2.

public ref class DkmClrLocalVariable
[Windows::Foundation::Metadata::WebHostHidden]
public ref class DkmClrLocalVariable
[Windows::Foundation::Metadata::WebHostHidden]
class DkmClrLocalVariable
[System.Runtime.InteropServices.Guid("8ea1e31c-295d-3d63-f790-8f0eca9158c5")]
public class DkmClrLocalVariable
[<System.Runtime.InteropServices.Guid("8ea1e31c-295d-3d63-f790-8f0eca9158c5")>]
type DkmClrLocalVariable = class
Public Class DkmClrLocalVariable
Inheritance
DkmClrLocalVariable
Attributes

Properties

AdditionalData

[Optional] Additional data used by the symbol provider to identify the local variable. Meaning is implementation specific.

Attributes

Variable attributes defined in CorSymVarFlag. Currently, the only defined bit is VAR_IS_COMP_GEN (0x1).

Module

Module where this local variable is defined.

Name

Name of the local variable.

Slot

The local slot used by the IL in stloc/ldloc instructions.

Methods

Create(DkmModule, String, UInt32, Int32, ReadOnlyCollection<Byte>)

Create a new DkmClrLocalVariable object instance.

GetSignature()

Provides the COR_SIGNATURE for a local Variable.

Location constraint: This API will fail when called from an IDE component to query information for server-side compiled ASP.NET code, or dynamically compiled code.

Applies to