Partager via


Location.Create Méthode

Définition

Surcharges

Create(SyntaxTree, TextSpan)

Crée un instance d’un Location pour une étendue dans un SyntaxTree.

Create(String, TextSpan, LinePositionSpan)

Crée une instance d’un Location pour une étendue dans un fichier.

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

Crée une instance d’un Location pour une étendue dans un fichier avec un fichier mappé et une étendue.

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

Crée un instance d’un Location pour une étendue dans un 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

Paramètres

syntaxTree
SyntaxTree
textSpan
TextSpan

Retours

S’applique à

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

Crée une instance d’un Location pour une étendue dans un fichier.

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

Paramètres

filePath
String
textSpan
TextSpan
lineSpan
LinePositionSpan

Retours

S’applique à

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

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

Crée une instance d’un Location pour une étendue dans un fichier avec un fichier mappé et une étendue.

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

Paramètres

filePath
String
textSpan
TextSpan
lineSpan
LinePositionSpan
mappedFilePath
String
mappedLineSpan
LinePositionSpan

Retours

S’applique à