C# Class Mono.CompilerServices.SymbolWriter.SymbolWriterImpl

Inheritance: ISymbolWriter
显示文件 Open project: Unity-Technologies/cecil Class Usage Examples

Public Methods

Method Description
Close ( ) : void
CloseMethod ( ) : void
CloseNamespace ( ) : void
CloseScope ( int endOffset ) : void
DefineDocument ( string url, Guid language, Guid languageVendor, Guid documentType ) : ISymbolDocumentWriter
DefineField ( SymbolToken parent, string name, FieldAttributes attributes, byte signature, SymAddressKind addrKind, int addr1, int addr2, int addr3 ) : void
DefineGlobalVariable ( string name, FieldAttributes attributes, byte signature, SymAddressKind addrKind, int addr1, int addr2, int addr3 ) : void
DefineLocalVariable ( string name, FieldAttributes attributes, byte signature, SymAddressKind addrKind, int addr1, int addr2, int addr3, int startOffset, int endOffset ) : void
DefineParameter ( string name, ParameterAttributes attributes, int sequence, SymAddressKind addrKind, int addr1, int addr2, int addr3 ) : void
DefineSequencePoints ( ISymbolDocumentWriter document, int offsets, int lines, int columns, int endLines, int endColumns ) : void
Initialize ( IntPtr emitter, string filename, bool fFullBuild ) : void
OpenMethod ( SymbolToken method ) : void
OpenNamespace ( string name ) : void
OpenScope ( int startOffset ) : int
SetMethodSourceRange ( ISymbolDocumentWriter startDoc, int startLine, int startColumn, ISymbolDocumentWriter endDoc, int endLine, int endColumn ) : void
SetScopeRange ( int scopeID, int startOffset, int endOffset ) : void
SetSymAttribute ( SymbolToken parent, string name, byte data ) : void
SetUnderlyingWriter ( IntPtr underlyingWriter ) : void
SetUserEntryPoint ( SymbolToken entryMethod ) : void
SymbolWriterImpl ( Guid guid )
SymbolWriterImpl ( ModuleBuilder mb )
UsingNamespace ( string fullName ) : void

Private Methods

Method Description
GetCurrentNamespace ( ISymbolDocumentWriter doc ) : int

Method Details

Close() public method

public Close ( ) : void
return void

CloseMethod() public method

public CloseMethod ( ) : void
return void

CloseNamespace() public method

public CloseNamespace ( ) : void
return void

CloseScope() public method

public CloseScope ( int endOffset ) : void
endOffset int
return void

DefineDocument() public method

public DefineDocument ( string url, Guid language, Guid languageVendor, Guid documentType ) : ISymbolDocumentWriter
url string
language Guid
languageVendor Guid
documentType Guid
return ISymbolDocumentWriter

DefineField() public method

public DefineField ( SymbolToken parent, string name, FieldAttributes attributes, byte signature, SymAddressKind addrKind, int addr1, int addr2, int addr3 ) : void
parent SymbolToken
name string
attributes FieldAttributes
signature byte
addrKind SymAddressKind
addr1 int
addr2 int
addr3 int
return void

DefineGlobalVariable() public method

public DefineGlobalVariable ( string name, FieldAttributes attributes, byte signature, SymAddressKind addrKind, int addr1, int addr2, int addr3 ) : void
name string
attributes FieldAttributes
signature byte
addrKind SymAddressKind
addr1 int
addr2 int
addr3 int
return void

DefineLocalVariable() public method

public DefineLocalVariable ( string name, FieldAttributes attributes, byte signature, SymAddressKind addrKind, int addr1, int addr2, int addr3, int startOffset, int endOffset ) : void
name string
attributes FieldAttributes
signature byte
addrKind SymAddressKind
addr1 int
addr2 int
addr3 int
startOffset int
endOffset int
return void

DefineParameter() public method

public DefineParameter ( string name, ParameterAttributes attributes, int sequence, SymAddressKind addrKind, int addr1, int addr2, int addr3 ) : void
name string
attributes ParameterAttributes
sequence int
addrKind SymAddressKind
addr1 int
addr2 int
addr3 int
return void

DefineSequencePoints() public method

public DefineSequencePoints ( ISymbolDocumentWriter document, int offsets, int lines, int columns, int endLines, int endColumns ) : void
document ISymbolDocumentWriter
offsets int
lines int
columns int
endLines int
endColumns int
return void

Initialize() public method

public Initialize ( IntPtr emitter, string filename, bool fFullBuild ) : void
emitter IntPtr
filename string
fFullBuild bool
return void

OpenMethod() public method

public OpenMethod ( SymbolToken method ) : void
method SymbolToken
return void

OpenNamespace() public method

public OpenNamespace ( string name ) : void
name string
return void

OpenScope() public method

public OpenScope ( int startOffset ) : int
startOffset int
return int

SetMethodSourceRange() public method

public SetMethodSourceRange ( ISymbolDocumentWriter startDoc, int startLine, int startColumn, ISymbolDocumentWriter endDoc, int endLine, int endColumn ) : void
startDoc ISymbolDocumentWriter
startLine int
startColumn int
endDoc ISymbolDocumentWriter
endLine int
endColumn int
return void

SetScopeRange() public method

public SetScopeRange ( int scopeID, int startOffset, int endOffset ) : void
scopeID int
startOffset int
endOffset int
return void

SetSymAttribute() public method

public SetSymAttribute ( SymbolToken parent, string name, byte data ) : void
parent SymbolToken
name string
data byte
return void

SetUnderlyingWriter() public method

public SetUnderlyingWriter ( IntPtr underlyingWriter ) : void
underlyingWriter IntPtr
return void

SetUserEntryPoint() public method

public SetUserEntryPoint ( SymbolToken entryMethod ) : void
entryMethod SymbolToken
return void

SymbolWriterImpl() public method

public SymbolWriterImpl ( Guid guid )
guid Guid

SymbolWriterImpl() public method

public SymbolWriterImpl ( ModuleBuilder mb )
mb ModuleBuilder

UsingNamespace() public method

public UsingNamespace ( string fullName ) : void
fullName string
return void