This documentation is archived and is not being maintained.
ISymbolWriter Interface
Visual Studio 2010
Represents a symbol writer for managed code.
Assembly: mscorlib (in mscorlib.dll)
The ISymbolWriter type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | Close | Closes ISymbolWriter and commits the symbols to the symbol store. |
![]() | CloseMethod | Closes the current method. |
![]() | CloseNamespace | Closes the most recent namespace. |
![]() | CloseScope | Closes the current lexical scope. |
![]() | DefineDocument | Defines a source document. |
![]() | DefineField | Defines a field in a type or a global field. |
![]() | DefineGlobalVariable | Defines a single global variable. |
![]() | DefineLocalVariable | Defines a single variable in the current lexical scope. |
![]() | DefineParameter | Defines a single parameter in the current method. The type of each parameter is taken from its position within the signature of the method. |
![]() | DefineSequencePoints | Defines a group of sequence points within the current method. |
![]() | Initialize | Sets the metadata emitter interface to associate with a writer. |
![]() | OpenMethod | Opens a method to place symbol information into. |
![]() | OpenNamespace | Opens a new namespace. |
![]() | OpenScope | Opens a new lexical scope in the current method. |
![]() | SetMethodSourceRange | Specifies the true start and end of a method within a source file. Use SetMethodSourceRange to specify the extent of a method, independent of the sequence points that exist within the method. |
![]() | SetScopeRange | Defines the offset range for the specified lexical scope. |
![]() | SetSymAttribute | Defines an attribute when given the attribute name and the attribute value. |
![]() | SetUnderlyingWriter | Sets the underlying ISymUnmanagedWriter (the corresponding unmanaged interface) that a managed ISymbolWriter uses to emit symbols. |
![]() | SetUserEntryPoint | Identifies the user-defined method as the entry point for the current module. |
![]() | UsingNamespace | Specifies that the given, fully qualified namespace name is used within the open lexical scope. |
The ISymbolWriter interface provides methods that define documents, sequence points, lexical scopes, and variables.
Note |
|---|
This interface is the managed counterpart of the ISymUnmanagedWriter interface, which is one of the unmanaged symbol store interfaces that provides an alternative way to read and write debug symbol information. |
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.
Show:
