C# Класс Machine.VSTestAdapter.Discovery.BuiltIn.SourceCodeLocationFinder

Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
GetFieldLocationCore SourceCodeLocationInfo
HandleNestedTypeName string
LoadAssembly Mono.Cecil.AssemblyDefinition

Открытые методы

Метод Описание
GetFieldLocation ( string fullTypeName, string fieldName ) : SourceCodeLocationInfo
SourceCodeLocationFinder ( string assemblyFilePath ) : System

Приватные методы

Метод Описание
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

Описание методов

GetFieldLocation() публичный Метод

public GetFieldLocation ( string fullTypeName, string fieldName ) : SourceCodeLocationInfo
fullTypeName string
fieldName string
Результат SourceCodeLocationInfo

SourceCodeLocationFinder() публичный Метод

public SourceCodeLocationFinder ( string assemblyFilePath ) : System
assemblyFilePath string
Результат System