System.Diagnostics.SymbolStore.ISymbolWriter: Method Members

The methods of System.Diagnostics.SymbolStore.ISymbolWriter are listed below. For a list of all members, see the ISymbolWriter Members list.

Public Methods

Close()

Closes System.Diagnostics.SymbolStore.ISymbolWriter and commits the symbols to the symbol store.

CloseMethod()

Closes the current method.

CloseNamespace()

Closes the most recent namespace.

CloseScope(int)

Closes the current lexical scope.

DefineDocument(string, Guid, Guid, Guid) : ISymbolDocumentWriter

Defines a source document.

DefineField(SymbolToken, string, System.Reflection.FieldAttributes, byte[], SymAddressKind, int, int, int)

Defines a field in a type or a global field.

DefineGlobalVariable(string, System.Reflection.FieldAttributes, byte[], SymAddressKind, int, int, int)

Defines a single global variable.

DefineLocalVariable(string, System.Reflection.FieldAttributes, byte[], SymAddressKind, int, int, int, int, int)

Defines a single variable in the current lexical scope.

DefineParameter(string, System.Reflection.ParameterAttributes, int, SymAddressKind, int, int, int)

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(ISymbolDocumentWriter, int[], int[], int[], int[], int[])

Defines a group of sequence points within the current method.

Initialize(IntPtr, string, bool)

Sets the metadata emitter interface to associate with a writer.

OpenMethod(SymbolToken)

Opens a method to place symbol information into.

OpenNamespace(string)

Opens a new namespace.

OpenScope(int) : int

Opens a new lexical scope in the current method.

SetMethodSourceRange(ISymbolDocumentWriter, int, int, ISymbolDocumentWriter, int, int)

Specifies the true start and end of a method within a source file. Use ISymbolWriter.SetMethodSourceRange(ISymbolDocumentWriter, int, int, ISymbolDocumentWriter, int, int) to specify the extent of a method, independent of the sequence points that exist within the method.

SetScopeRange(int, int, int)

Defines the offset range for the specified lexical scope.

SetSymAttribute(SymbolToken, string, byte[])

Defines an attribute when given the attribute name and the attribute value.

SetUnderlyingWriter(IntPtr)

Sets the underlying ISymUnmanagedWriter (the corresponding unmanaged interface) that a managed System.Diagnostics.SymbolStore.ISymbolWriter uses to emit symbols.

SetUserEntryPoint(SymbolToken)

Identifies the user-defined method as the entry point for the current module.

UsingNamespace(string)

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