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