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)
685
var missingIdentifier = SyntaxFactory.
MissingToken
(SyntaxKind.IdentifierToken);
689
var missingComma = SyntaxFactory.
MissingToken
(SyntaxKind.CommaToken);
1899
var someToken = SyntaxFactory.
MissingToken
(SyntaxKind.IntKeyword);
1910
var missingComma = SyntaxFactory.
MissingToken
(SyntaxKind.CommaToken);
1938
var zeroWidth = SyntaxFactory.ElseDirectiveTrivia(SyntaxFactory.
MissingToken
(SyntaxKind.HashToken), SyntaxFactory.
MissingToken
(SyntaxKind.ElseKeyword), SyntaxFactory.
MissingToken
(SyntaxKind.EndOfDirectiveToken), false, false);
1980
var zeroWidth = SyntaxFactory.ElseDirectiveTrivia(SyntaxFactory.
MissingToken
(SyntaxKind.HashToken), SyntaxFactory.
MissingToken
(SyntaxKind.ElseKeyword), SyntaxFactory.
MissingToken
(SyntaxKind.EndOfDirectiveToken), false, false);
3562
var emptyToken = SyntaxFactory.
MissingToken
(SyntaxKind.IdentifierToken).WithTrailingTrivia(emptyWhitespace, emptyWhitespace);