SyntaxFactory.Identifier Metodo

Definizione

Overload

Identifier(String)

Crea un token con identificatore tipoToken contenente il testo specificato.

Identifier(SyntaxTriviaList, String, SyntaxTriviaList)

Crea un token con identificatore tipoToken contenente il testo specificato.

Identifier(SyntaxTriviaList, SyntaxKind, String, String, SyntaxTriviaList)

Crea un token con identificatore tipoToken contenente il testo specificato.

Identifier(String)

Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs

Crea un token con identificatore tipoToken contenente il testo specificato.

public:
 static Microsoft::CodeAnalysis::SyntaxToken Identifier(System::String ^ text);
public static Microsoft.CodeAnalysis.SyntaxToken Identifier (string text);
static member Identifier : string -> Microsoft.CodeAnalysis.SyntaxToken
Public Shared Function Identifier (text As String) As SyntaxToken

Parametri

text
String

Testo non elaborato del nome dell'identificatore, inclusi i caratteri di escape o iniziale '@'.

Restituisce

Si applica a

Identifier(SyntaxTriviaList, String, SyntaxTriviaList)

Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs

Crea un token con identificatore tipoToken contenente il testo specificato.

public:
 static Microsoft::CodeAnalysis::SyntaxToken Identifier(Microsoft::CodeAnalysis::SyntaxTriviaList leading, System::String ^ text, Microsoft::CodeAnalysis::SyntaxTriviaList trailing);
public static Microsoft.CodeAnalysis.SyntaxToken Identifier (Microsoft.CodeAnalysis.SyntaxTriviaList leading, string text, Microsoft.CodeAnalysis.SyntaxTriviaList trailing);
static member Identifier : Microsoft.CodeAnalysis.SyntaxTriviaList * string * Microsoft.CodeAnalysis.SyntaxTriviaList -> Microsoft.CodeAnalysis.SyntaxToken
Public Shared Function Identifier (leading As SyntaxTriviaList, text As String, trailing As SyntaxTriviaList) As SyntaxToken

Parametri

leading
SyntaxTriviaList

Elenco di trivia immediatamente precedente al token.

text
String

Testo non elaborato del nome dell'identificatore, inclusi i caratteri di escape o iniziale '@'.

trailing
SyntaxTriviaList

Elenco di trivia immediatamente dopo il token.

Restituisce

Si applica a

Identifier(SyntaxTriviaList, SyntaxKind, String, String, SyntaxTriviaList)

Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs

Crea un token con identificatore tipoToken contenente il testo specificato.

public:
 static Microsoft::CodeAnalysis::SyntaxToken Identifier(Microsoft::CodeAnalysis::SyntaxTriviaList leading, Microsoft::CodeAnalysis::CSharp::SyntaxKind contextualKind, System::String ^ text, System::String ^ valueText, Microsoft::CodeAnalysis::SyntaxTriviaList trailing);
public static Microsoft.CodeAnalysis.SyntaxToken Identifier (Microsoft.CodeAnalysis.SyntaxTriviaList leading, Microsoft.CodeAnalysis.CSharp.SyntaxKind contextualKind, string text, string valueText, Microsoft.CodeAnalysis.SyntaxTriviaList trailing);
static member Identifier : Microsoft.CodeAnalysis.SyntaxTriviaList * Microsoft.CodeAnalysis.CSharp.SyntaxKind * string * string * Microsoft.CodeAnalysis.SyntaxTriviaList -> Microsoft.CodeAnalysis.SyntaxToken
Public Shared Function Identifier (leading As SyntaxTriviaList, contextualKind As SyntaxKind, text As String, valueText As String, trailing As SyntaxTriviaList) As SyntaxToken

Parametri

leading
SyntaxTriviaList

Elenco di trivia immediatamente precedente al token.

contextualKind
SyntaxKind

Sintassi alternativaKind che può essere dedotto per questo token in contesti speciali. Queste sono in genere parole chiave.

text
String

Testo non elaborato del nome dell'identificatore, inclusi i caratteri di escape o iniziale '@'.

valueText
String

Testo del nome dell'identificatore senza escape o carattere iniziale '@'.

trailing
SyntaxTriviaList

Elenco di trivia immediatamente dopo il token.

Restituisce

Si applica a