6 references to ERR_TypeExpected
Microsoft.CodeAnalysis.CSharp (6)
Binder\Binder_Symbols.cs (1)
618diagnostics.Add(ErrorCode.ERR_TypeExpected, syntax.GetLocation());
Errors\ErrorFacts.cs (1)
1177or ErrorCode.ERR_TypeExpected
Parser\LanguageParser.cs (4)
2231bounds.Add(_syntaxFactory.TypeConstraint(this.AddError(this.CreateMissingIdentifierName(), ErrorCode.ERR_TypeExpected))); 2263bounds.Add(_syntaxFactory.TypeConstraint(this.AddError(this.CreateMissingIdentifierName(), ErrorCode.ERR_TypeExpected))); 6763result = this.AddError(result, ErrorCode.ERR_TypeExpected); 8026mode == ParseTypeMode.NewExpression ? ErrorCode.ERR_BadNewExpr : ErrorCode.ERR_TypeExpected);