다음을 통해 공유


ISymUnmanagedWriter Interface

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

Methods

Method

Description

ISymUnmanagedWriter::Abort Method

Closes the symbol writer without committing the symbols to the symbol store.

ISymUnmanagedWriter::Close Method

Closes the symbol writer after committing the symbols to the symbol store.

ISymUnmanagedWriter::CloseMethod Method

Closes the current method. Once a method is closed, no more symbols can be defined within it.

ISymUnmanagedWriter::CloseNamespace Method

Closes the most recently opened namespace.

ISymUnmanagedWriter::CloseScope Method

Closes the current lexical scope.

ISymUnmanagedWriter::DefineConstant Method

Defines a name for a constant value.

ISymUnmanagedWriter::DefineDocument Method

Defines a source document.

ISymUnmanagedWriter::DefineField Method

Defines a single variable that is not within a method.

ISymUnmanagedWriter::DefineGlobalVariable Method

Defines a single global variable.

ISymUnmanagedWriter::DefineLocalVariable Method

Defines a single variable in the current lexical scope.

ISymUnmanagedWriter::DefineParameter Method

Defines a single parameter in the current method.

ISymUnmanagedWriter::DefineSequencePoints Method

Defines a group of sequence points within the current method.

ISymUnmanagedWriter::GetDebugInfo Method

Returns the information necessary for a compiler to write the debug directory entry in the portable executable (PE) file header.

ISymUnmanagedWriter::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.

ISymUnmanagedWriter::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.

ISymUnmanagedWriter::OpenMethod Method

Opens a method into which symbol information is emitted.

ISymUnmanagedWriter::OpenNamespace Method

Opens a new namespace.

ISymUnmanagedWriter::OpenScope Method

Opens a new lexical scope in the current method.

ISymUnmanagedWriter::RemapToken Method

Notifies the symbol writer that a metadata token has been remapped as the metadata was emitted.

ISymUnmanagedWriter::SetMethodSourceRange Method

Specifies the true start and end of a method within a source file.

ISymUnmanagedWriter::SetScopeRange Method

Defines the offset range for the specified lexical scope.

ISymUnmanagedWriter::SetSymAttribute Method

Defines a custom attribute based upon its name.

ISymUnmanagedWriter::SetUserEntryPoint Method

Specifies the user-defined method that is the entry point for this module.

ISymUnmanagedWriter::UsingNamespace Method

Specifies that the given fully qualified namespace name is being used within the currently open lexical scope.

Requirements

Header: CorSym.idl

See Also

Concepts

Diagnostics Symbol Store Interfaces

ISymUnmanagedWriter2 Interface

ISymUnmanagedWriter3 Interface