4 overrides of GetConstantValue
Microsoft.CodeAnalysis.VisualBasic (2)
Symbols\Source\LocalSymbol.vb (2)
901Friend Overrides Function GetConstantValue(containingBinder As Binder) As ConstantValue 1013Friend Overrides Function GetConstantValue(binder As Binder) As ConstantValue
Microsoft.CodeAnalysis.VisualBasic.ExpressionEvaluator.ExpressionCompiler (2)
Symbols\EELocalConstantSymbol.vb (1)
75Friend Overrides Function GetConstantValue(binder As Binder) As ConstantValue
Symbols\EELocalSymbol.vb (1)
101Friend Overrides Function GetConstantValue(binder As Binder) As ConstantValue
6 references to GetConstantValue
Microsoft.CodeAnalysis.VisualBasic (6)
Binding\Binder_Utils.vb (1)
1309Return If(nonConstantDetected, Nothing, local.GetConstantValue(Me))
BoundTree\BoundLocal.vb (1)
47Dim result As ConstantValue = LocalSymbol.GetConstantValue(Nothing)
Semantics\Conversions.vb (1)
953sourceIsConstant = DirectCast(source, BoundLocal).LocalSymbol.GetConstantValue(binder) IsNot Nothing AndAlso source.IsConstant
Symbols\Source\LocalSymbol.vb (3)
350Return GetConstantValue(Nothing) IsNot Nothing 360Dim constant As ConstantValue = Me.GetConstantValue(Nothing) 1014Return _originalVariable.GetConstantValue(binder)