C# Class Machine.VSTestAdapter.Discovery.BuiltIn.SourceCodeLocationFinder

ファイルを表示 Open project: machine-visualstudio/machine.vstestadapter Class Usage Examples

Private Properties

Property Type Description
GetFieldLocationCore SourceCodeLocationInfo
HandleNestedTypeName string
LoadAssembly Mono.Cecil.AssemblyDefinition

Public Methods

Method Description
GetFieldLocation ( string fullTypeName, string fieldName ) : SourceCodeLocationInfo
SourceCodeLocationFinder ( string assemblyFilePath ) : System

Private Methods

Method Description
GetFieldLocationCore ( Mono.Cecil.TypeDefinition type, string fieldFullName ) : SourceCodeLocationInfo

Field assignments get converted to assignments in the .ctor, so if we find that - we get the line info from there.

HandleNestedTypeName ( string type ) : string
LoadAssembly ( string assemblyFilePath ) : AssemblyDefinition

Method Details

GetFieldLocation() public method

public GetFieldLocation ( string fullTypeName, string fieldName ) : SourceCodeLocationInfo
fullTypeName string
fieldName string
return SourceCodeLocationInfo

SourceCodeLocationFinder() public method

public SourceCodeLocationFinder ( string assemblyFilePath ) : System
assemblyFilePath string
return System