8 references to ERR_ConstantExpected
Microsoft.CodeAnalysis.CSharp (8)
Binder\Binder_Expressions.cs (2)
4392Error(diagnostics, ErrorCode.ERR_ConstantExpected, size.Syntax); 4629Error(diagnostics, ErrorCode.ERR_ConstantExpected, sizeOpt.Syntax);
Binder\Binder_InterpolatedString.cs (1)
117diagnostics.Add(ErrorCode.ERR_ConstantExpected, interpolation.AlignmentClause.Value.Location);
Binder\Binder_Patterns.cs (1)
568diagnostics.Add(ErrorCode.ERR_ConstantExpected, patternExpression.Location);
Binder\SwitchBinder.cs (1)
507diagnostics.Add(ErrorCode.ERR_ConstantExpected, node.Location);
Errors\ErrorFacts.cs (1)
728or ErrorCode.ERR_ConstantExpected
Parser\LanguageParser.cs (2)
5583? this.ParseIdentifierName(ErrorCode.ERR_ConstantExpected) 9756ParseIdentifierName(ErrorCode.ERR_ConstantExpected),