16 references to ERR_IdentifierExpected
Microsoft.CodeAnalysis.CSharp (16)
Binder\Binder_Patterns.cs (3)
1093diagnostics.Add(ErrorCode.ERR_IdentifierExpected, subPattern.ExpressionColon.Expression.Location); 1124diagnostics.Add(ErrorCode.ERR_IdentifierExpected, subpatternSyntax.ExpressionColon.Expression.Location); 1183diagnostics.Add(ErrorCode.ERR_IdentifierExpected, subpatternSyntax.ExpressionColon.Expression.Location);
Errors\ErrorFacts.cs (1)
1120or ErrorCode.ERR_IdentifierExpected
Parser\DirectiveParser.cs (1)
252var name = this.EatToken(SyntaxKind.IdentifierToken, ErrorCode.ERR_IdentifierExpected);
Parser\LanguageParser.cs (10)
2125? this.AddError(this.CreateMissingIdentifierName(), ErrorCode.ERR_IdentifierExpected) 3634type = this.AddError(this.CreateMissingIdentifierName(), ErrorCode.ERR_IdentifierExpected); 4655identifier = this.AddError(CreateMissingIdentifierToken(), ErrorCode.ERR_IdentifierExpected); 4896identifier = this.AddError(identifier, ErrorCode.ERR_IdentifierExpected); 5282missingIdentifier = this.AddError(missingIdentifier, offset, width, ErrorCode.ERR_IdentifierExpected); 5707private IdentifierNameSyntax ParseIdentifierName(ErrorCode code = ErrorCode.ERR_IdentifierExpected) 5721private SyntaxToken ParseIdentifierToken(ErrorCode code = ErrorCode.ERR_IdentifierExpected) 5833this.AddError(CreateMissingIdentifierToken(), ErrorCode.ERR_IdentifierExpected)); 6789var missingName = this.AddError(this.CreateMissingIdentifierName(), ErrorCode.ERR_IdentifierExpected); 11588this.AddError(this.CreateMissingIdentifierName(), ErrorCode.ERR_IdentifierExpected));
Parser\SyntaxParser.cs (1)
693return ErrorCode.ERR_IdentifierExpected;