ISymUnmanagedWriter Interface

Represents a symbol writer, and provides methods to define documents, sequence points, lexical scopes, and variables.

Methods

Method Description
Abort Method Closes the symbol writer without committing the symbols to the symbol store.
Close Method Closes the symbol writer after committing the symbols to the symbol store.
CloseMethod Method Closes the current method. Once a method is closed, no more symbols can be defined within it.
CloseNamespace Method Closes the most recently opened namespace.
CloseScope Method Closes the current lexical scope.
DefineConstant Method Defines a name for a constant value.
DefineDocument Method Defines a source document.
DefineField Method Defines a single variable that is not within a method.
DefineGlobalVariable Method Defines a single global variable.
DefineLocalVariable Method Defines a single variable in the current lexical scope.
DefineParameter Method Defines a single parameter in the current method.
DefineSequencePoints Method Defines a group of sequence points within the current method.
GetDebugInfo Method Returns the information necessary for a compiler to write the debug directory entry in the portable executable (PE) file header.
Initialize Method Sets the metadata emitter interface with which this writer will be associated, and sets the output file name to which the debugging symbols will be written.
Initialize2 Method Sets the metadata emitter interface with which this writer will be associated, sets the output file name to which the debugging symbols will be written, and sets the final location of the program database (PDB) file.
OpenMethod Method Opens a method into which symbol information is emitted.
OpenNamespace Method Opens a new namespace.
OpenScope Method Opens a new lexical scope in the current method.
RemapToken Method Notifies the symbol writer that a metadata token has been remapped as the metadata was emitted.
SetMethodSourceRange Method Specifies the true start and end of a method within a source file.
SetScopeRange Method Defines the offset range for the specified lexical scope.
SetSymAttribute Method Defines a custom attribute based upon its name.
SetUserEntryPoint Method Specifies the user-defined method that is the entry point for this module.
UsingNamespace Method Specifies that the given fully qualified namespace name is being used within the currently open lexical scope.

Requirements

Header: CorSym.idl, CorSym.h

See also