6 references to GetExpressionConstantValueIfAny
Microsoft.CodeAnalysis.VisualBasic (6)
Binding\Binder_Initializers.vb (4)
563
constValue = Me.
GetExpressionConstantValueIfAny
(boundInitValue, BindingDiagnosticBag.Discarded, ConstantContext.Default)
565
constValue = Me.
GetExpressionConstantValueIfAny
(boundInitValue, initValueDiagnostics, ConstantContext.Default)
622
constValue = binder.
GetExpressionConstantValueIfAny
(valueExpression, diagnostics, ConstantContext.Default)
662
constValue =
GetExpressionConstantValueIfAny
(boundInitValue, diagnostics, ConstantContext.ParameterDefaultValue)
Binding\Binder_Utils.vb (2)
1341
GetExpressionConstantValueIfAny
(binaryOperator.Right, diagnostics, context)
1423
Dim nestedConstValue As ConstantValue =
GetExpressionConstantValueIfAny
(operand, diagnostics, context)