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

Afficher le fichier Open project: machine-visualstudio/machine.vstestadapter Class Usage Examples

Private Properties

Свойство Type Description
GetFieldLocationCore SourceCodeLocationInfo
HandleNestedTypeName string
LoadAssembly Mono.Cecil.AssemblyDefinition

Méthodes publiques

Méthode Description
GetFieldLocation ( string fullTypeName, string fieldName ) : SourceCodeLocationInfo
SourceCodeLocationFinder ( string assemblyFilePath ) : System

Private Methods

Méthode 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 méthode

public GetFieldLocation ( string fullTypeName, string fieldName ) : SourceCodeLocationInfo
fullTypeName string
fieldName string
Résultat SourceCodeLocationInfo

SourceCodeLocationFinder() public méthode

public SourceCodeLocationFinder ( string assemblyFilePath ) : System
assemblyFilePath string
Résultat System