58 void SetScopeRange(
int scopeID,
int startOffset,
int endOffset);
The T:System.Diagnostics.SymbolStore.SymbolToken structure is an object representation of a token tha...
void DefineGlobalVariable(string name, FieldAttributes attributes, byte[] signature, SymAddressKind addrKind, int addr1, int addr2, int addr3)
Defines a single global variable.
ISymbolDocumentWriter DefineDocument(string url, Guid language, Guid languageVendor, Guid documentType)
Defines a source document.
void SetUserEntryPoint(SymbolToken entryMethod)
Identifies the user-defined method as the entry point for the current module.
void SetUnderlyingWriter(IntPtr underlyingWriter)
Sets the underlying ISymUnmanagedWriter (the corresponding unmanaged interface) that a managed T:Syst...
void OpenNamespace(string name)
Opens a new namespace.
void CloseNamespace()
Closes the most recent namespace.
void DefineSequencePoints(ISymbolDocumentWriter document, int[] offsets, int[] lines, int[] columns, int[] endLines, int[] endColumns)
Defines a group of sequence points within the current method.
void Initialize(IntPtr emitter, string filename, bool fFullBuild)
Sets the metadata emitter interface to associate with a writer.
void OpenMethod(SymbolToken method)
Opens a method to place symbol information into.
void DefineLocalVariable(string name, FieldAttributes attributes, byte[] signature, SymAddressKind addrKind, int addr1, int addr2, int addr3, int startOffset, int endOffset)
Defines a single variable in the current lexical scope.
void CloseScope(int endOffset)
Closes the current lexical scope.
Represents a globally unique identifier (GUID).To browse the .NET Framework source code for this type...
FieldAttributes
Specifies flags that describe the attributes of a field.
A platform-specific type that is used to represent a pointer or a handle.
ParameterAttributes
Defines the attributes that can be associated with a parameter. These are defined in CorHdr....
SymAddressKind
Specifies address types for local variables, parameters, and fields in the methods M:System....
void UsingNamespace(string fullName)
Specifies that the given, fully qualified namespace name is used within the open lexical scope.
void SetMethodSourceRange(ISymbolDocumentWriter startDoc, int startLine, int startColumn, ISymbolDocumentWriter endDoc, int endLine, int endColumn)
Specifies the true start and end of a method within a source file. Use M:System.Diagnostics....
void Close()
Closes T:System.Diagnostics.SymbolStore.ISymbolWriter and commits the symbols to the symbol store.
Represents a symbol writer for managed code.
Represents a document referenced by a symbol store.
void CloseMethod()
Closes the current method.
void DefineField(SymbolToken parent, string name, FieldAttributes attributes, byte[] signature, SymAddressKind addrKind, int addr1, int addr2, int addr3)
Defines a field in a type or a global field.
void SetScopeRange(int scopeID, int startOffset, int endOffset)
Defines the offset range for the specified lexical scope.
int OpenScope(int startOffset)
Opens a new lexical scope in the current method.
void SetSymAttribute(SymbolToken parent, string name, byte[] data)
Defines an attribute when given the attribute name and the attribute value.
void DefineParameter(string name, ParameterAttributes attributes, int sequence, SymAddressKind addrKind, int addr1, int addr2, int addr3)
Defines a single parameter in the current method. The type of each parameter is taken from its positi...