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