SymWriter SymWriter SymWriter SymWriter Class

Definición

Representa un escritor de símbolos de código administrado.Represents a symbol writer for managed code.

public ref class SymWriter : System::Diagnostics::SymbolStore::SymWriterBase, IDisposable, System::Diagnostics::SymbolStore::ISymbolWriter
[System.Runtime.InteropServices.ComVisible(true)]
public class SymWriter : System.Diagnostics.SymbolStore.SymWriterBase, IDisposable, System.Diagnostics.SymbolStore.ISymbolWriter
type SymWriter = class
    inherit SymWriterBase
    interface ISymbolWriter
    interface IDisposable
Public Class SymWriter
Inherits SymWriterBase
Implements IDisposable, ISymbolWriter
Herencia
SymWriterSymWriterSymWriterSymWriter
Atributos
Implementaciones

Comentarios

La SymWriter clase proporciona métodos que definen los documentos, los puntos de secuencia, los ámbitos léxicos y las variables.The SymWriter class provides methods that define documents, sequence points, lexical scopes, and variables.

Constructores

SymWriter() SymWriter() SymWriter() SymWriter()

Inicializa una nueva instancia de la clase SymWriter.Initializes a new instance of the SymWriter class.

SymWriter(Boolean) SymWriter(Boolean) SymWriter(Boolean) SymWriter(Boolean)

Inicializa una nueva instancia de la clase SymWriter, especificando si se va a crear un escritor de símbolos subyacente.Initializes a new instance of the SymWriter class, specifying whether to create an underlying symbol writer.

Métodos

Close() Close() Close() Close()

Cierra el objeto SymWriter y asigna los símbolos al almacén de símbolos.Closes the SymWriter and commits the symbols to the symbol store.

CloseMethod() CloseMethod() CloseMethod() CloseMethod()

Cierra el método actual.Closes the current method.

CloseNamespace() CloseNamespace() CloseNamespace() CloseNamespace()

Cierra el espacio de nombres más reciente.Closes the most recent namespace.

CloseScope(Int32) CloseScope(Int32) CloseScope(Int32) CloseScope(Int32)

Cierra el ámbito léxico actual.Closes the current lexical scope.

DefineDocument(String, Guid, Guid, Guid) DefineDocument(String, Guid, Guid, Guid) DefineDocument(String, Guid, Guid, Guid) DefineDocument(String, Guid, Guid, Guid)

Define un documento de origen.Defines a source document.

DefineField(SymbolToken, String, FieldAttributes, Byte[], SymAddressKind, Int32, Int32, Int32) DefineField(SymbolToken, String, FieldAttributes, Byte[], SymAddressKind, Int32, Int32, Int32) DefineField(SymbolToken, String, FieldAttributes, Byte[], SymAddressKind, Int32, Int32, Int32) DefineField(SymbolToken, String, FieldAttributes, Byte[], SymAddressKind, Int32, Int32, Int32)

Devuelve NotSupportedException en todos los casosThrows a NotSupportedException in all cases.

DefineGlobalVariable(String, FieldAttributes, Byte[], SymAddressKind, Int32, Int32, Int32) DefineGlobalVariable(String, FieldAttributes, Byte[], SymAddressKind, Int32, Int32, Int32) DefineGlobalVariable(String, FieldAttributes, Byte[], SymAddressKind, Int32, Int32, Int32) DefineGlobalVariable(String, FieldAttributes, Byte[], SymAddressKind, Int32, Int32, Int32)

Devuelve NotSupportedException en todos los casosThrows a NotSupportedException in all cases.

DefineLocalVariable(String, FieldAttributes, Byte[], SymAddressKind, Int32, Int32, Int32, Int32, Int32) DefineLocalVariable(String, FieldAttributes, Byte[], SymAddressKind, Int32, Int32, Int32, Int32, Int32) DefineLocalVariable(String, FieldAttributes, Byte[], SymAddressKind, Int32, Int32, Int32, Int32, Int32) DefineLocalVariable(String, FieldAttributes, Byte[], SymAddressKind, Int32, Int32, Int32, Int32, Int32)

Define una única variable en el ámbito léxico actual.Defines a single variable in the current lexical scope.

DefineParameter(String, ParameterAttributes, Int32, SymAddressKind, Int32, Int32, Int32) DefineParameter(String, ParameterAttributes, Int32, SymAddressKind, Int32, Int32, Int32) DefineParameter(String, ParameterAttributes, Int32, SymAddressKind, Int32, Int32, Int32) DefineParameter(String, ParameterAttributes, Int32, SymAddressKind, Int32, Int32, Int32)

Devuelve NotSupportedException en todos los casosThrows a NotSupportedException in all cases.

DefineSequencePoints(ISymbolDocumentWriter, Int32[], Int32[], Int32[], Int32[], Int32[]) DefineSequencePoints(ISymbolDocumentWriter, Int32[], Int32[], Int32[], Int32[], Int32[]) DefineSequencePoints(ISymbolDocumentWriter, Int32[], Int32[], Int32[], Int32[], Int32[]) DefineSequencePoints(ISymbolDocumentWriter, Int32[], Int32[], Int32[], Int32[], Int32[])

Define un grupo de puntos de secuencia dentro del método actual.Defines a group of sequence points within the current method.

Dispose() Dispose() Dispose() Dispose()

Libera los recursos utilizados por la instancia actual de la clase SymWriter.Releases the resources used by the current instance of the SymWriter class.

Dispose(Boolean) Dispose(Boolean) Dispose(Boolean) Dispose(Boolean)

Lo llama los métodos Dispose() y Finalize() para liberar los recursos administrados y no administrados utilizados por la instancia actual de la clase SymWriter.Called by the Dispose() and Finalize() methods to release the managed and unmanaged resources used by the current instance of the SymWriter class.

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determina si el objeto especificado es igual al objeto actual.Determines whether the specified object is equal to the current object.

(Inherited from Object)
Finalize() Finalize() Finalize() Finalize()

Libera recursos no administrados y realiza otras operaciones de limpieza antes de que se reclame el objeto SymWriter durante la recolección de elementos no utilizados.Releases unmanaged resources and performs other cleanup operations before the SymWriter is reclaimed by garbage collection.

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Sirve como la función hash predeterminada.Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Obtiene el Type de la instancia actual.Gets the Type of the current instance.

(Inherited from Object)
GetWriter() GetWriter() GetWriter() GetWriter()

Obtiene el escritor de símbolos no administrado subyacente.Gets the underlying unmanaged symbol writer.

Initialize(IntPtr, String, Boolean) Initialize(IntPtr, String, Boolean) Initialize(IntPtr, String, Boolean) Initialize(IntPtr, String, Boolean)

Establece la interfaz emisora de metadatos que se va a asociar a este escritor.Sets the metadata emitter interface to associate with this writer.

InitWriter(Boolean) InitWriter(Boolean) InitWriter(Boolean) InitWriter(Boolean)

Inicializa el escritor de símbolos.Initializes the symbol writer. No se debe llamar directamente a este método; el constructor se ocupa de hacerlo.This method should not be called directly; it is called by the constructor.

MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Crea una copia superficial del objeto Object actual.Creates a shallow copy of the current Object.

(Inherited from Object)
OpenMethod(SymbolToken) OpenMethod(SymbolToken) OpenMethod(SymbolToken) OpenMethod(SymbolToken)

Abre un método en el que colocar la información del símbolo.Opens a method in which to place symbol information.

OpenNamespace(String) OpenNamespace(String) OpenNamespace(String) OpenNamespace(String)

Abre un nuevo espacio de nombres.Opens a new namespace.

OpenScope(Int32) OpenScope(Int32) OpenScope(Int32) OpenScope(Int32)

Abre un nuevo ámbito léxico en el método actual.Opens a new lexical scope in the current method.

SetMethodSourceRange(ISymbolDocumentWriter, Int32, Int32, ISymbolDocumentWriter, Int32, Int32) SetMethodSourceRange(ISymbolDocumentWriter, Int32, Int32, ISymbolDocumentWriter, Int32, Int32) SetMethodSourceRange(ISymbolDocumentWriter, Int32, Int32, ISymbolDocumentWriter, Int32, Int32) SetMethodSourceRange(ISymbolDocumentWriter, Int32, Int32, ISymbolDocumentWriter, Int32, Int32)

Devuelve NotSupportedException en todos los casosThrows a NotSupportedException in all cases.

SetScopeRange(Int32, Int32, Int32) SetScopeRange(Int32, Int32, Int32) SetScopeRange(Int32, Int32, Int32) SetScopeRange(Int32, Int32, Int32)

Define el intervalo de desplazamiento del ámbito léxico especificado.Defines the offset range for the specified lexical scope.

SetSymAttribute(SymbolToken, String, Byte[]) SetSymAttribute(SymbolToken, String, Byte[]) SetSymAttribute(SymbolToken, String, Byte[]) SetSymAttribute(SymbolToken, String, Byte[])

Define un atributo cuando se especifican el nombre y el valor del atributo.Defines an attribute when given the attribute name and the attribute value.

SetUnderlyingWriter(IntPtr) SetUnderlyingWriter(IntPtr) SetUnderlyingWriter(IntPtr) SetUnderlyingWriter(IntPtr)

Establece la interfaz ISymUnmanagedWriter subyacente (la API no administrada correspondiente) que un SymWriter administrado usa para emitir símbolos.Sets the underlying ISymUnmanagedWriter Interface (the corresponding unmanaged API) that a managed SymWriter uses to emit symbols.

SetUserEntryPoint(SymbolToken) SetUserEntryPoint(SymbolToken) SetUserEntryPoint(SymbolToken) SetUserEntryPoint(SymbolToken)

Identifica el método definido por el usuario como punto de entrada del módulo actual.Identifies the user-defined method as the entry point for the current module.

ToString() ToString() ToString() ToString()

Devuelve una cadena que representa el objeto actual.Returns a string that represents the current object.

(Inherited from Object)
UsingNamespace(String) UsingNamespace(String) UsingNamespace(String) UsingNamespace(String)

Indica que el nombre completo del espacio de nombres especificado se utiliza dentro del ámbito léxico abierto.Specifies that the given, fully qualified namespace name is used within the open lexical scope.

__dtor() __dtor() __dtor() __dtor()

Libera los recursos mantenidos por la instancia actual del objeto SymWriter.Releases the resources held by the current instance of the SymWriter object.

{dtor}() {dtor}() {dtor}() {dtor}()

Libera los recursos mantenidos por la instancia actual del objeto SymWriter.Releases the resources held by the current instance of the SymWriter object.

Se aplica a