34 references to ValueOpt
Microsoft.CodeAnalysis.VisualBasic (34)
Analysis\FlowAnalysis\AbstractFlowPass.vb (6)
1880
Debug.Assert(node.
ValueOpt
IsNot Nothing Xor node.ConditionOpt IsNot Nothing)
1882
If node.
ValueOpt
IsNot Nothing Then
1883
VisitRvalue(node.
ValueOpt
)
1893
Debug.Assert(node.
ValueOpt
IsNot Nothing Xor node.ConditionOpt IsNot Nothing)
1895
If node.
ValueOpt
IsNot Nothing Then
1896
VisitRvalue(node.
ValueOpt
)
Binding\Binder_SelectCase.vb (8)
474
Debug.Assert(boundClause.ConditionOpt IsNot Nothing Xor boundClause.
ValueOpt
IsNot Nothing)
478
right:=boundClause.
ValueOpt
,
490
Debug.Assert(boundClause.ConditionOpt IsNot Nothing Xor boundClause.
ValueOpt
IsNot Nothing)
494
right:=boundClause.
ValueOpt
,
590
Debug.Assert(relationalClause.
ValueOpt
IsNot Nothing Xor relationalClause.ConditionOpt IsNot Nothing)
592
Dim operand = relationalClause.
ValueOpt
638
Debug.Assert(simpleCaseClause.
ValueOpt
IsNot Nothing Xor simpleCaseClause.ConditionOpt IsNot Nothing)
640
Dim value = simpleCaseClause.
ValueOpt
Binding\Binder_Statements.vb (1)
278
children.Add(DirectCast(clause, BoundSingleValueCaseClause).
ValueOpt
)
BoundTree\BoundRelationalCaseClause.vb (1)
11
ValidateValueAndCondition(
ValueOpt
, ConditionOpt, OperatorKind)
BoundTree\BoundSimpleCaseClause.vb (1)
15
ValidateValueAndCondition(
ValueOpt
, ConditionOpt, BinaryOperatorKind.Equals)
CodeGen\EmitStatement.vb (4)
996
Debug.Assert(simpleCaseClause.
ValueOpt
IsNot Nothing)
999
constant = simpleCaseClause.
ValueOpt
.ConstantValueOpt
1005
Debug.Assert(relationalCaseClause.
ValueOpt
IsNot Nothing)
1008
constant = relationalCaseClause.
ValueOpt
.ConstantValueOpt
Generated\BoundNodes.xml.Generated.vb (8)
5173
If valueOpt IsNot Me.
ValueOpt
OrElse conditionOpt IsNot Me.ConditionOpt Then
5269
If operatorKind <> Me.OperatorKind OrElse valueOpt IsNot Me.
ValueOpt
OrElse conditionOpt IsNot Me.ConditionOpt Then
11605
Me.Visit(node.
ValueOpt
)
11619
Me.Visit(node.
ValueOpt
)
12633
Dim valueOpt As BoundExpression = DirectCast(Me.Visit(node.
ValueOpt
), BoundExpression)
12647
Dim valueOpt As BoundExpression = DirectCast(Me.Visit(node.
ValueOpt
), BoundExpression)
13938
New TreeDumperNode("valueOpt", Nothing, new TreeDumperNode() {Visit(node.
ValueOpt
, Nothing)}),
13955
New TreeDumperNode("valueOpt", Nothing, new TreeDumperNode() {Visit(node.
ValueOpt
, Nothing)}),
Lowering\LocalRewriter\LocalRewriter_SelectCase.vb (4)
355
Debug.Assert(simpleCaseClause.
ValueOpt
IsNot Nothing)
358
constant = simpleCaseClause.
ValueOpt
.ConstantValueOpt
364
Debug.Assert(relationalCaseClause.
ValueOpt
IsNot Nothing)
367
constant = relationalCaseClause.
ValueOpt
.ConstantValueOpt
Lowering\SyntheticBoundNodeFactory.vb (1)
713
Dim v1 = l.
ValueOpt
.ConstantValueOpt.Int32Value