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