6 references to ERR_SyntaxError
Microsoft.CodeAnalysis.CSharp (6)
Errors\ErrorFacts.cs (1)
1131or ErrorCode.ERR_SyntaxError
Parser\LanguageParser.cs (1)
9280skippedForToken = this.AddError(skippedForToken, ErrorCode.ERR_SyntaxError, SyntaxFacts.GetText(SyntaxKind.ForEachKeyword));
Parser\Lexer_StringLiteral.cs (2)
1022TrySetError(_lexer.MakeError(_lexer.TextWindow.Position, 1, ErrorCode.ERR_SyntaxError, endingChar.ToString())); 1054TrySetError(_lexer.MakeError(_lexer.TextWindow.Position, 1, ErrorCode.ERR_SyntaxError, endingChar.ToString()));
Parser\SyntaxParser.cs (2)
660if (code == ErrorCode.ERR_SyntaxError) 710return ErrorCode.ERR_SyntaxError;