This documentation is archived and is not being maintained.

ISymbolReader Interface

Represents a symbol reader for managed code.

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

public interface ISymbolReader

The ISymbolReader type exposes the following members.

Public propertyUserEntryPointGets the metadata token for the method that was specified as the user entry point for the module, if any.

Public methodGetDocumentGets a document specified by the language, vendor, and type.
Public methodGetDocumentsGets an array of all documents defined in the symbol store.
Public methodGetGlobalVariablesGets all global variables in the module.
Public methodGetMethod(SymbolToken)Gets a symbol reader method object when given the identifier of a method.
Public methodGetMethod(SymbolToken, Int32)Gets a symbol reader method object when given the identifier of a method and its edit and continue version.
Public methodGetMethodFromDocumentPositionGets a symbol reader method object that contains a specified position in a document.
Public methodGetNamespacesGets the namespaces that are defined in the global scope within the current symbol store.
Public methodGetSymAttributeGets an attribute value when given the attribute name.
Public methodGetVariablesGets the variables that are not local when given the parent.

The interface provides access to documents, methods, and variables.


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

.NET Framework

Supported in: 4, 3.5, 3.0, 2.0, 1.1, 1.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.