13 references to MissingToken
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (13)
Diagnostics\LocationsTests.cs (1)
583
var node = SyntaxFactory.
MissingToken
(SyntaxKind.IdentifierToken);
Syntax\RedNodeTests.cs (1)
19
return SyntaxFactory.
MissingToken
(token.Kind());
Syntax\SyntaxNodeTests.cs (11)
662
var missingIdentifier = SyntaxFactory.
MissingToken
(SyntaxKind.IdentifierToken);
666
var missingComma = SyntaxFactory.
MissingToken
(SyntaxKind.CommaToken);
1876
var someToken = SyntaxFactory.
MissingToken
(SyntaxKind.IntKeyword);
1887
var missingComma = SyntaxFactory.
MissingToken
(SyntaxKind.CommaToken);
1915
var zeroWidth = SyntaxFactory.ElseDirectiveTrivia(SyntaxFactory.
MissingToken
(SyntaxKind.HashToken), SyntaxFactory.
MissingToken
(SyntaxKind.ElseKeyword), SyntaxFactory.
MissingToken
(SyntaxKind.EndOfDirectiveToken), false, false);
1957
var zeroWidth = SyntaxFactory.ElseDirectiveTrivia(SyntaxFactory.
MissingToken
(SyntaxKind.HashToken), SyntaxFactory.
MissingToken
(SyntaxKind.ElseKeyword), SyntaxFactory.
MissingToken
(SyntaxKind.EndOfDirectiveToken), false, false);
3539
var emptyToken = SyntaxFactory.
MissingToken
(SyntaxKind.IdentifierToken).WithTrailingTrivia(emptyWhitespace, emptyWhitespace);