7 references to ERR_TypeExpected
Microsoft.CodeAnalysis.CSharp (7)
Binder\Binder_Symbols.cs (1)
606
diagnostics.Add(ErrorCode.
ERR_TypeExpected
, syntax.GetLocation());
Errors\ErrorFacts.cs (1)
1157
or ErrorCode.
ERR_TypeExpected
Parser\LanguageParser.cs (5)
2135
bounds.Add(_syntaxFactory.TypeConstraint(this.AddError(this.CreateMissingIdentifierName(), ErrorCode.
ERR_TypeExpected
)));
2167
bounds.Add(_syntaxFactory.TypeConstraint(this.AddError(this.CreateMissingIdentifierName(), ErrorCode.
ERR_TypeExpected
)));
6363
result = this.AddError(result, ErrorCode.
ERR_TypeExpected
);
7630
mode == ParseTypeMode.NewExpression ? ErrorCode.ERR_BadNewExpr : ErrorCode.
ERR_TypeExpected
);
10291
mod = this.AddError(mod, ErrorCode.
ERR_TypeExpected
);