SymScope SymScope SymScope SymScope Class

Definition

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

public ref class SymScope : System::Diagnostics::SymbolStore::SymScopeBase, IDisposable, System::Diagnostics::SymbolStore::ISymbolScope
[System.Runtime.InteropServices.ComVisible(true)]
public class SymScope : System.Diagnostics.SymbolStore.SymScopeBase, IDisposable, System.Diagnostics.SymbolStore.ISymbolScope
type SymScope = class
    inherit SymScopeBase
    interface ISymbolScope
    interface IDisposable
Public Class SymScope
Inherits SymScopeBase
Implements IDisposable, ISymbolScope
Inheritance
SymScopeSymScopeSymScopeSymScope
Attributes
Implements

Remarks

The SymScope class also provides access to all locals defined within the current scope.

Constructors

SymScope(ISymUnmanagedScope*) SymScope(ISymUnmanagedScope*) SymScope(ISymUnmanagedScope*) SymScope(ISymUnmanagedScope*)
SymScope(ISymUnmanagedScope*) SymScope(ISymUnmanagedScope*) SymScope(ISymUnmanagedScope*) SymScope(ISymUnmanagedScope*)

Properties

EndOffset EndOffset EndOffset EndOffset

Gets the end offset of the current lexical scope.

Method Method Method Method

Gets the method that contains the current lexical scope.

Parent Parent Parent Parent

Gets the parent lexical scope of the current scope.

StartOffset StartOffset StartOffset StartOffset

Gets the start offset of the current lexical scope.

Methods

Dispose() Dispose() Dispose() Dispose()

Releases the resources used by the current instance of the SymScope class.

Dispose(Boolean) Dispose(Boolean) Dispose(Boolean) Dispose(Boolean)

Called by the Dispose() and Finalize() methods to release the managed and unmanaged resources used by the current instance of the SymScope class.

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
Finalize() Finalize() Finalize() Finalize()

Releases unmanaged resources and performs other cleanup operations before the SymScope is reclaimed by garbage collection.

GetChildren() GetChildren() GetChildren() GetChildren()

Gets the child lexical scopes of the current lexical scope.

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetLocals() GetLocals() GetLocals() GetLocals()

Gets the local variables within the current lexical scope.

GetNamespaces() GetNamespaces() GetNamespaces() GetNamespaces()

Throws a NotSupportedException in all cases.

GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)
__dtor() __dtor() __dtor() __dtor()
{dtor}() {dtor}() {dtor}() {dtor}()

Releases the resources held by the current instance.

Applies to