2 references to BadToken
Microsoft.CodeAnalysis.CSharp (2)
Parser\LanguageParser.cs (1)
230
builder.Add(SyntaxFactory.
BadToken
(null, lexer.TextWindow.Text.ToString(), null));
Parser\Lexer.cs (1)
2015
var token = SyntaxFactory.
BadToken
(null, text.ToString(), null).WithDiagnosticsGreen([error]);