8 references to ERR_ConstantExpected
Microsoft.CodeAnalysis.CSharp (8)
Binder\Binder_Expressions.cs (2)
4395Error(diagnostics, ErrorCode.ERR_ConstantExpected, size.Syntax); 4632Error(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)
731or ErrorCode.ERR_ConstantExpected
Parser\LanguageParser.cs (2)
5626? this.ParseIdentifierName(ErrorCode.ERR_ConstantExpected) 9808ParseIdentifierName(ErrorCode.ERR_ConstantExpected),