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