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