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