16 references to ERR_IdentifierExpected
Microsoft.CodeAnalysis.CSharp (16)
Binder\Binder_Patterns.cs (3)
1714
diagnostics.Add(ErrorCode.
ERR_IdentifierExpected
, subPattern.ExpressionColon.Expression.Location);
1749
diagnostics.Add(ErrorCode.
ERR_IdentifierExpected
, subpatternSyntax.ExpressionColon.Expression.Location);
1794
diagnostics.Add(ErrorCode.
ERR_IdentifierExpected
, subpatternSyntax.ExpressionColon.Expression.Location);
Errors\ErrorFacts.cs (1)
1150
or ErrorCode.
ERR_IdentifierExpected
Parser\DirectiveParser.cs (1)
254
var name = this.EatToken(SyntaxKind.IdentifierToken, ErrorCode.
ERR_IdentifierExpected
);
Parser\LanguageParser.cs (10)
2254
? this.AddError(this.CreateMissingIdentifierName(), ErrorCode.
ERR_IdentifierExpected
)
3204
identifierOrThisOpt ??= this.AddError(CreateMissingIdentifierToken(), ErrorCode.
ERR_IdentifierExpected
);
3874
type = this.AddError(this.CreateMissingIdentifierName(), ErrorCode.
ERR_IdentifierExpected
);
5000
identifier = identifierIsOptional ? null : this.AddError(CreateMissingIdentifierToken(), ErrorCode.
ERR_IdentifierExpected
);
5188
identifier = this.AddError(identifier, ErrorCode.
ERR_IdentifierExpected
);
5600
missingIdentifier = this.AddError(missingIdentifier, offset, width, ErrorCode.
ERR_IdentifierExpected
);
6086
private IdentifierNameSyntax ParseIdentifierName(ErrorCode code = ErrorCode.
ERR_IdentifierExpected
)
6100
private SyntaxToken ParseIdentifierToken(ErrorCode code = ErrorCode.
ERR_IdentifierExpected
)
6226
this.AddError(CreateMissingIdentifierToken(), ErrorCode.
ERR_IdentifierExpected
));
12228
this.AddError(this.CreateMissingIdentifierName(), ErrorCode.
ERR_IdentifierExpected
));
Parser\SyntaxParser.cs (1)
711
return ErrorCode.
ERR_IdentifierExpected
;