SyntaxFactory.BadToken(SyntaxTriviaList, String, SyntaxTriviaList) Metodo

Definizione

Crea un token con tipo BadToken.

public:
 static Microsoft::CodeAnalysis::SyntaxToken BadToken(Microsoft::CodeAnalysis::SyntaxTriviaList leading, System::String ^ text, Microsoft::CodeAnalysis::SyntaxTriviaList trailing);
public static Microsoft.CodeAnalysis.SyntaxToken BadToken (Microsoft.CodeAnalysis.SyntaxTriviaList leading, string text, Microsoft.CodeAnalysis.SyntaxTriviaList trailing);
static member BadToken : Microsoft.CodeAnalysis.SyntaxTriviaList * string * Microsoft.CodeAnalysis.SyntaxTriviaList -> Microsoft.CodeAnalysis.SyntaxToken
Public Shared Function BadToken (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 token non valido.

trailing
SyntaxTriviaList

Elenco di trivia immediatamente dopo il token.

Restituisce

Si applica a