5 references to CheckLangVersionForConstantValue
Microsoft.CodeAnalysis.CSharp (5)
Binder\Binder_Attributes.cs (1)
857
ConstantValueUtils.
CheckLangVersionForConstantValue
(node, diagnostics);
Binder\Binder_Patterns.cs (1)
554
ConstantValueUtils.
CheckLangVersionForConstantValue
(convertedExpression, diagnostics);
Binder\SwitchBinder.cs (1)
511
ConstantValueUtils.
CheckLangVersionForConstantValue
(gotoCaseExpressionOpt, diagnostics);
Symbols\ConstantValueUtils.cs (1)
86
CheckLangVersionForConstantValue
(boundValue, diagnostics);
Symbols\Source\ParameterHelpers.cs (1)
827
ConstantValueUtils.
CheckLangVersionForConstantValue
(convertedExpression, diagnostics);