16 references to ERR_IdentifierExpected
Microsoft.CodeAnalysis.CSharp (16)
Binder\Binder_Patterns.cs (3)
1318diagnostics.Add(ErrorCode.ERR_IdentifierExpected, subPattern.ExpressionColon.Expression.Location); 1353diagnostics.Add(ErrorCode.ERR_IdentifierExpected, subpatternSyntax.ExpressionColon.Expression.Location); 1398diagnostics.Add(ErrorCode.ERR_IdentifierExpected, subpatternSyntax.ExpressionColon.Expression.Location);
Errors\ErrorFacts.cs (1)
1145or ErrorCode.ERR_IdentifierExpected
Parser\DirectiveParser.cs (1)
254var name = this.EatToken(SyntaxKind.IdentifierToken, ErrorCode.ERR_IdentifierExpected);
Parser\LanguageParser.cs (10)
2279? this.AddError(this.CreateMissingIdentifierName(), ErrorCode.ERR_IdentifierExpected) 3218identifierOrThisOpt ??= this.AddError(CreateMissingIdentifierToken(), ErrorCode.ERR_IdentifierExpected); 3879type = this.AddError(this.CreateMissingIdentifierName(), ErrorCode.ERR_IdentifierExpected); 4988identifier = identifierIsOptional ? null : this.AddError(CreateMissingIdentifierToken(), ErrorCode.ERR_IdentifierExpected); 5176identifier = this.AddError(identifier, ErrorCode.ERR_IdentifierExpected); 5584missingIdentifier = this.AddError(missingIdentifier, offset, width, ErrorCode.ERR_IdentifierExpected); 6070private IdentifierNameSyntax ParseIdentifierName(ErrorCode code = ErrorCode.ERR_IdentifierExpected) 6084private SyntaxToken ParseIdentifierToken(ErrorCode code = ErrorCode.ERR_IdentifierExpected) 6204this.AddError(CreateMissingIdentifierToken(), ErrorCode.ERR_IdentifierExpected)); 12223this.AddError(this.CreateMissingIdentifierName(), ErrorCode.ERR_IdentifierExpected));
Parser\SyntaxParser.cs (1)
711return ErrorCode.ERR_IdentifierExpected;