SymScope Class

 

Updated: March 13, 2015

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.

Namespace:   System.Diagnostics.SymbolStore
Assembly:  ISymWrapper (in ISymWrapper.dll)

System.Object
  System.Diagnostics.SymbolStore.SymScopeBase
    System.Diagnostics.SymbolStore.SymScope

[ComVisibleAttribute(true)]
[HostProtectionAttribute(SecurityAction.LinkDemand, MayLeakOnAbort = true)]
public class SymScope : SymScopeBase, ISymbolScope, IDisposable

NameDescription
System_CAPS_pubpropertyEndOffset

Gets the end offset of the current lexical scope.

System_CAPS_pubpropertyMethod

Gets the method that contains the current lexical scope.

System_CAPS_pubpropertyParent

Gets the parent lexical scope of the current scope.

System_CAPS_pubpropertyStartOffset

Gets the start offset of the current lexical scope.

NameDescription
System_CAPS_pubmethod{dtor}()

Releases the resources held by the current instance.(Inherited from SymScopeBase.)

System_CAPS_pubmethodDispose()

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

System_CAPS_protmethodDispose(Boolean)

This API supports the product infrastructure and is not intended to be used directly from your code. Called by the Dispose and Finalize methods to release the managed and unmanaged resources used by the current instance of the SymScope class.

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Releases unmanaged resources and performs other cleanup operations before the SymScope is reclaimed by garbage collection.(Overrides Object.Finalize().)

System_CAPS_pubmethodGetChildren()

Gets the child lexical scopes of the current lexical scope.

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetLocals()

Gets the local variables within the current lexical scope.

System_CAPS_pubmethodGetNamespaces()

Throws a NotSupportedException in all cases.

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

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

.NET Framework
Available since 1.1

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: