C# Class Endjin.Assembly.ChangeDetection.Introspection.PdbInformationReader

Inheritance: IDisposable
Mostrar archivo Open project: endjin/Endjin.Assembly.ChangeDetection Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void
GetFileLine ( Instruction ins, Mono.Cecil.MethodDefinition method, bool bSearchForward ) : int>.KeyValuePair

Get for a specific IL instruction the matching file and line.

GetFileLine ( MethodBody body ) : int>.KeyValuePair
GetFileLine ( Mono.Cecil.MethodDefinition method ) : int>.KeyValuePair
GetFileLine ( Mono.Cecil.TypeDefinition type ) : int>.KeyValuePair

Try to get the file name where the type is defined from the pdb via walking through some methods

LoadPdbForModule ( Mono.Cecil.ModuleDefinition module ) : ISymbolReader
PdbInformationReader ( ) : System
PdbInformationReader ( string symbolServer ) : System
ReleasePdbForModule ( Mono.Cecil.ModuleDefinition module ) : void

Private Methods

Method Description
GetILInstructionWithLineNumber ( Instruction ins, bool bSearchForward ) : Instruction
HasValidFileAndLineNumber ( Instruction ins ) : bool
PatchDriveLetter ( string url ) : string

Method Details

Dispose() public method

public Dispose ( ) : void
return void

GetFileLine() public method

Get for a specific IL instruction the matching file and line.
public GetFileLine ( Instruction ins, Mono.Cecil.MethodDefinition method, bool bSearchForward ) : int>.KeyValuePair
ins Mono.Cecil.Cil.Instruction
method Mono.Cecil.MethodDefinition
bSearchForward bool Search the next il instruction first if set to true for the line number from the pdb. If nothing is found we search backward.
return int>.KeyValuePair

GetFileLine() public method

public GetFileLine ( MethodBody body ) : int>.KeyValuePair
body Mono.Cecil.Cil.MethodBody
return int>.KeyValuePair

GetFileLine() public method

public GetFileLine ( Mono.Cecil.MethodDefinition method ) : int>.KeyValuePair
method Mono.Cecil.MethodDefinition
return int>.KeyValuePair

GetFileLine() public method

Try to get the file name where the type is defined from the pdb via walking through some methods
public GetFileLine ( Mono.Cecil.TypeDefinition type ) : int>.KeyValuePair
type Mono.Cecil.TypeDefinition
return int>.KeyValuePair

LoadPdbForModule() public method

public LoadPdbForModule ( Mono.Cecil.ModuleDefinition module ) : ISymbolReader
module Mono.Cecil.ModuleDefinition
return ISymbolReader

PdbInformationReader() public method

public PdbInformationReader ( ) : System
return System

PdbInformationReader() public method

public PdbInformationReader ( string symbolServer ) : System
symbolServer string
return System

ReleasePdbForModule() public method

public ReleasePdbForModule ( Mono.Cecil.ModuleDefinition module ) : void
module Mono.Cecil.ModuleDefinition
return void