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