11 references to ERR_InvalidExprTerm
Microsoft.CodeAnalysis.CSharp (11)
Binder\Binder_Patterns.cs (1)
1638
diagnostics.Add(ErrorCode.
ERR_InvalidExprTerm
, node.OperatorToken.GetLocation(), node.OperatorToken.Text);
Errors\ErrorFacts.cs (1)
1212
or ErrorCode.
ERR_InvalidExprTerm
Parser\LanguageParser.cs (9)
5688
result = this.AddError(result, ErrorCode.
ERR_InvalidExprTerm
, this.CurrentToken.Text);
10918
return this.AddError(this.CreateMissingIdentifierName(), ErrorCode.
ERR_InvalidExprTerm
, SyntaxFacts.GetText(tk));
10965
this.AddError(this.EatToken(), ErrorCode.
ERR_InvalidExprTerm
, this.CurrentToken.Text));
10974
: this.AddError(result, ErrorCode.
ERR_InvalidExprTerm
, SyntaxFacts.GetText(tk));
11434
return this.AddError(this.CreateMissingIdentifierName(), ErrorCode.
ERR_InvalidExprTerm
, this.CurrentToken.Text);
11463
return this.AddError(this.CreateMissingIdentifierName(), ErrorCode.
ERR_InvalidExprTerm
, this.CurrentToken.Text);
11518
return this.AddError(_syntaxFactory.RefExpression(refKeyword, this.ParseExpressionCore()), ErrorCode.
ERR_InvalidExprTerm
, SyntaxFacts.GetText(tk));
11532
expr = this.AddError(expr, ErrorCode.
ERR_InvalidExprTerm
, SyntaxFacts.GetText(tk));
11547
expr = this.AddError(expr, ErrorCode.
ERR_InvalidExprTerm
, SyntaxFacts.GetText(tk));