ISymbolScope Interface

Definition

Represents a lexical scope within ISymbolMethod, providing access to the start and end offsets of the scope, as well as its child and parent scopes.

public interface class ISymbolScope
public interface ISymbolScope
[System.Runtime.InteropServices.ComVisible(true)]
public interface ISymbolScope
type ISymbolScope = interface
[<System.Runtime.InteropServices.ComVisible(true)>]
type ISymbolScope = interface
Public Interface ISymbolScope
Derived
Attributes

Remarks

The ISymbolScope interface also provides access to all locals defined within the current scope.

Note

This interface is the managed counterpart of the ISymUnmanagedScope interface, which is one of the unmanaged symbol store interfaces that provide an alternate way to read and write debug symbol information.

Properties

EndOffset

Gets the end offset of the current lexical scope.

Method

Gets the method that contains the current lexical scope.

Parent

Gets the parent lexical scope of the current scope.

StartOffset

Gets the start offset of the current lexical scope.

Methods

GetChildren()

Gets the child lexical scopes of the current lexical scope.

GetLocals()

Gets the local variables within the current lexical scope.

GetNamespaces()

Gets the namespaces that are used within the current scope.

Applies to

See also