System.Diagnostics.SymbolStore.ISymbolScope.GetLocals Method

Gets the local variables within the current lexical scope.

Syntax

public ISymbolVariable[] GetLocals ()

Returns

The local variables within the current lexical scope.

Remarks

The local variables are returned in no particular order. If a local variable changes its address within the current scope, that variable is returned multiple times, each with a different offset range.

Requirements

Namespace: System.Diagnostics.SymbolStore
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0