15 references to ERR_IdentifierExpected
Microsoft.CodeAnalysis.CSharp (15)
Binder\Binder_Patterns.cs (3)
1093
diagnostics.Add(ErrorCode.
ERR_IdentifierExpected
, subPattern.ExpressionColon.Expression.Location);
1124
diagnostics.Add(ErrorCode.
ERR_IdentifierExpected
, subpatternSyntax.ExpressionColon.Expression.Location);
1183
diagnostics.Add(ErrorCode.
ERR_IdentifierExpected
, subpatternSyntax.ExpressionColon.Expression.Location);
Errors\ErrorFacts.cs (1)
1135
or ErrorCode.
ERR_IdentifierExpected
Parser\DirectiveParser.cs (1)
244
var name = this.EatToken(SyntaxKind.IdentifierToken, ErrorCode.
ERR_IdentifierExpected
);
Parser\LanguageParser.cs (9)
2143
? this.AddError(this.CreateMissingIdentifierName(), ErrorCode.
ERR_IdentifierExpected
)
3651
type = this.AddError(this.CreateMissingIdentifierName(), ErrorCode.
ERR_IdentifierExpected
);
4703
identifier = this.AddError(CreateMissingIdentifierToken(), ErrorCode.
ERR_IdentifierExpected
);
4870
identifier = this.AddError(identifier, ErrorCode.
ERR_IdentifierExpected
);
5280
missingIdentifier = this.AddError(missingIdentifier, offset, width, ErrorCode.
ERR_IdentifierExpected
);
5705
private IdentifierNameSyntax ParseIdentifierName(ErrorCode code = ErrorCode.
ERR_IdentifierExpected
)
5719
private SyntaxToken ParseIdentifierToken(ErrorCode code = ErrorCode.
ERR_IdentifierExpected
)
5838
this.AddError(CreateMissingIdentifierToken(), ErrorCode.
ERR_IdentifierExpected
));
11712
this.AddError(this.CreateMissingIdentifierName(), ErrorCode.
ERR_IdentifierExpected
));
Parser\SyntaxParser.cs (1)
693
return ErrorCode.
ERR_IdentifierExpected
;