C# Class Mono.CompilerServices.SymbolWriter.MonoSymbolFile

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

Public Properties

Property Type Description
MajorVersion int
MinorVersion int
NumLineNumbers int

Private Properties

Property Type Description
DefineAnonymousScope void
DefineCapturedScope void
DefineCapturedVariable void
GetNextMethodIndex int
GetNextNamespaceIndex int
GetNextTypeIndex int
MonoSymbolFile System
Write void
read_methods void

Public Methods

Method Description
AddCompileUnit ( CompileUnitEntry entry ) : int
AddMethod ( MethodEntry entry ) : void
AddSource ( SourceFileEntry source ) : int
CreateSymbolFile ( System.Guid guid, FileStream fs ) : void
DefineMethod ( CompileUnitEntry comp_unit, int token, ScopeVariable scope_vars, LocalVariableEntry locals, LineNumberEntry lines, CodeBlockEntry code_blocks, string real_name, MethodEntry flags, int namespace_id ) : MethodEntry
Dispose ( ) : void
FindSource ( string file_name ) : int
GetAnonymousScope ( int id ) : AnonymousScopeEntry
GetCompileUnit ( int index ) : CompileUnitEntry
GetMethod ( int index ) : MethodEntry
GetMethodByToken ( int token ) : MethodEntry
GetSourceFile ( int index ) : SourceFileEntry
MonoSymbolFile ( ) : System
ReadSymbolFile ( Assembly assembly ) : MonoSymbolFile
ReadSymbolFile ( Stream stream ) : MonoSymbolFile
ReadSymbolFile ( string mdbFilename ) : MonoSymbolFile
ReadSymbolFile ( string mdbFilename, System.Guid assemblyGuid ) : MonoSymbolFile

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Private Methods

Method Description
DefineAnonymousScope ( int id ) : void
DefineCapturedScope ( int scope_id, int id, string captured_name ) : void
DefineCapturedVariable ( int scope_id, string name, string captured_name, CapturedVariable kind ) : void
GetNextMethodIndex ( ) : int
GetNextNamespaceIndex ( ) : int
GetNextTypeIndex ( ) : int
MonoSymbolFile ( Stream stream ) : System
Write ( MyBinaryWriter bw, System.Guid guid ) : void
read_methods ( ) : void

Method Details

AddCompileUnit() public method

public AddCompileUnit ( CompileUnitEntry entry ) : int
entry CompileUnitEntry
return int

AddMethod() public method

public AddMethod ( MethodEntry entry ) : void
entry MethodEntry
return void

AddSource() public method

public AddSource ( SourceFileEntry source ) : int
source SourceFileEntry
return int

CreateSymbolFile() public method

public CreateSymbolFile ( System.Guid guid, FileStream fs ) : void
guid System.Guid
fs System.IO.FileStream
return void

DefineMethod() public method

public DefineMethod ( CompileUnitEntry comp_unit, int token, ScopeVariable scope_vars, LocalVariableEntry locals, LineNumberEntry lines, CodeBlockEntry code_blocks, string real_name, MethodEntry flags, int namespace_id ) : MethodEntry
comp_unit CompileUnitEntry
token int
scope_vars ScopeVariable
locals LocalVariableEntry
lines LineNumberEntry
code_blocks CodeBlockEntry
real_name string
flags MethodEntry
namespace_id int
return MethodEntry

Dispose() public method

public Dispose ( ) : void
return void

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

FindSource() public method

public FindSource ( string file_name ) : int
file_name string
return int

GetAnonymousScope() public method

public GetAnonymousScope ( int id ) : AnonymousScopeEntry
id int
return AnonymousScopeEntry

GetCompileUnit() public method

public GetCompileUnit ( int index ) : CompileUnitEntry
index int
return CompileUnitEntry

GetMethod() public method

public GetMethod ( int index ) : MethodEntry
index int
return MethodEntry

GetMethodByToken() public method

public GetMethodByToken ( int token ) : MethodEntry
token int
return MethodEntry

GetSourceFile() public method

public GetSourceFile ( int index ) : SourceFileEntry
index int
return SourceFileEntry

MonoSymbolFile() public method

public MonoSymbolFile ( ) : System
return System

ReadSymbolFile() public static method

public static ReadSymbolFile ( Assembly assembly ) : MonoSymbolFile
assembly Assembly
return MonoSymbolFile

ReadSymbolFile() public static method

public static ReadSymbolFile ( Stream stream ) : MonoSymbolFile
stream Stream
return MonoSymbolFile

ReadSymbolFile() public static method

public static ReadSymbolFile ( string mdbFilename ) : MonoSymbolFile
mdbFilename string
return MonoSymbolFile

ReadSymbolFile() public static method

public static ReadSymbolFile ( string mdbFilename, System.Guid assemblyGuid ) : MonoSymbolFile
mdbFilename string
assemblyGuid System.Guid
return MonoSymbolFile

Property Details

MajorVersion public_oe property

public int MajorVersion
return int

MinorVersion public_oe property

public int MinorVersion
return int

NumLineNumbers public_oe property

public int NumLineNumbers
return int