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