3 references to ERR_BadNewExpr
Microsoft.CodeAnalysis.CSharp (3)
Errors\ErrorFacts.cs (1)
1213or ErrorCode.ERR_BadNewExpr
Parser\LanguageParser.cs (2)
7630mode == ParseTypeMode.NewExpression ? ErrorCode.ERR_BadNewExpr : ErrorCode.ERR_TypeExpected); 12809this.EatToken(SyntaxKind.OpenParenToken, ErrorCode.ERR_BadNewExpr, reportError: type?.ContainsDiagnostics == false),