12 references to ERR_InvalidExprTerm
Microsoft.CodeAnalysis.CSharp (12)
Binder\Binder_Patterns.cs (1)
2323
diagnostics.Add(ErrorCode.
ERR_InvalidExprTerm
, node.OperatorToken.GetLocation(), node.OperatorToken.Text);
Errors\ErrorFacts.cs (1)
1232
or ErrorCode.
ERR_InvalidExprTerm
Parser\LanguageParser.cs (10)
6081
result = this.AddError(result, ErrorCode.
ERR_InvalidExprTerm
, this.CurrentToken.Text);
11460
return this.AddError(this.CreateMissingIdentifierName(), ErrorCode.
ERR_InvalidExprTerm
, SyntaxFacts.GetText(tk));
11507
this.AddError(this.EatToken(), ErrorCode.
ERR_InvalidExprTerm
, this.CurrentToken.Text));
11516
: this.AddError(result, ErrorCode.
ERR_InvalidExprTerm
, SyntaxFacts.GetText(tk));
11991
return this.AddError(this.CreateMissingIdentifierName(), ErrorCode.
ERR_InvalidExprTerm
, this.CurrentToken.Text);
12020
return this.AddError(this.CreateMissingIdentifierName(), ErrorCode.
ERR_InvalidExprTerm
, this.CurrentToken.Text);
12076
return this.AddError(_syntaxFactory.RefExpression(refKeyword, this.ParseExpressionCore()), ErrorCode.
ERR_InvalidExprTerm
, SyntaxFacts.GetText(tk));
12090
expr = this.AddError(expr, ErrorCode.
ERR_InvalidExprTerm
, SyntaxFacts.GetText(tk));
12115
ErrorCode.
ERR_InvalidExprTerm
,
12120
expr = this.AddError(expr, ErrorCode.
ERR_InvalidExprTerm
, SyntaxFacts.GetText(tk));