次の方法で共有


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

戻り値

適用対象