Поделиться через


Location.Create Метод

Определение

Перегрузки

Create(SyntaxTree, TextSpan)

Создает экземпляр Location для диапазона в SyntaxTree.

Create(String, TextSpan, LinePositionSpan)

Создает экземпляр Location для диапазона в файле.

Create(String, TextSpan, LinePositionSpan, String, LinePositionSpan)

Создает экземпляр Location для диапазона в файле с сопоставленным файлом и диапазоном.

Create(SyntaxTree, TextSpan)

Source:
Location.cs
Source:
Location.cs
Source:
Location.cs
Source:
Location.cs
Source:
Location.cs
Source:
Location.cs
Source:
Location.cs
Source:
Location.cs
Source:
Location.cs
Source:
Location.cs
Source:
Location.cs
Source:
Location.cs
Source:
Location.cs
Source:
Location.cs
Source:
Location.cs
Source:
Location.cs
Source:
Location.cs
Source:
Location.cs
Source:
Location.cs
Source:
Location.cs
Source:
Location.cs
Source:
Location.cs
Source:
Location.cs

Создает экземпляр Location для диапазона в SyntaxTree.

public:
 static Microsoft::CodeAnalysis::Location ^ Create(Microsoft::CodeAnalysis::SyntaxTree ^ syntaxTree, Microsoft::CodeAnalysis::Text::TextSpan textSpan);
public static Microsoft.CodeAnalysis.Location Create (Microsoft.CodeAnalysis.SyntaxTree syntaxTree, Microsoft.CodeAnalysis.Text.TextSpan textSpan);
static member Create : Microsoft.CodeAnalysis.SyntaxTree * Microsoft.CodeAnalysis.Text.TextSpan -> Microsoft.CodeAnalysis.Location
Public Shared Function Create (syntaxTree As SyntaxTree, textSpan As TextSpan) As Location

Параметры

syntaxTree
SyntaxTree
textSpan
TextSpan

Возвращаемое значение

Применяется к

Create(String, TextSpan, LinePositionSpan)

Source:
Location.cs
Source:
Location.cs
Source:
Location.cs
Source:
Location.cs
Source:
Location.cs
Source:
Location.cs
Source:
Location.cs
Source:
Location.cs
Source:
Location.cs
Source:
Location.cs
Source:
Location.cs
Source:
Location.cs
Source:
Location.cs
Source:
Location.cs
Source:
Location.cs
Source:
Location.cs
Source:
Location.cs
Source:
Location.cs
Source:
Location.cs
Source:
Location.cs
Source:
Location.cs
Source:
Location.cs
Source:
Location.cs

Создает экземпляр Location для диапазона в файле.

public:
 static Microsoft::CodeAnalysis::Location ^ Create(System::String ^ filePath, Microsoft::CodeAnalysis::Text::TextSpan textSpan, Microsoft::CodeAnalysis::Text::LinePositionSpan lineSpan);
public static Microsoft.CodeAnalysis.Location Create (string filePath, Microsoft.CodeAnalysis.Text.TextSpan textSpan, Microsoft.CodeAnalysis.Text.LinePositionSpan lineSpan);
static member Create : string * Microsoft.CodeAnalysis.Text.TextSpan * Microsoft.CodeAnalysis.Text.LinePositionSpan -> Microsoft.CodeAnalysis.Location
Public Shared Function Create (filePath As String, textSpan As TextSpan, lineSpan As LinePositionSpan) As Location

Параметры

filePath
String
textSpan
TextSpan
lineSpan
LinePositionSpan

Возвращаемое значение

Применяется к

Create(String, TextSpan, LinePositionSpan, String, LinePositionSpan)

Source:
Location.cs
Source:
Location.cs
Source:
Location.cs
Source:
Location.cs
Source:
Location.cs

Создает экземпляр Location для диапазона в файле с сопоставленным файлом и диапазоном.

public static Microsoft.CodeAnalysis.Location Create (string filePath, Microsoft.CodeAnalysis.Text.TextSpan textSpan, Microsoft.CodeAnalysis.Text.LinePositionSpan lineSpan, string mappedFilePath, Microsoft.CodeAnalysis.Text.LinePositionSpan mappedLineSpan);
static member Create : string * Microsoft.CodeAnalysis.Text.TextSpan * Microsoft.CodeAnalysis.Text.LinePositionSpan * string * Microsoft.CodeAnalysis.Text.LinePositionSpan -> Microsoft.CodeAnalysis.Location
Public Shared Function Create (filePath As String, textSpan As TextSpan, lineSpan As LinePositionSpan, mappedFilePath As String, mappedLineSpan As LinePositionSpan) As Location

Параметры

filePath
String
textSpan
TextSpan
lineSpan
LinePositionSpan
mappedFilePath
String
mappedLineSpan
LinePositionSpan

Возвращаемое значение

Применяется к