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