35 references to ValueOpt
Microsoft.CodeAnalysis.VisualBasic (35)
Analysis\FlowAnalysis\AbstractFlowPass.vb (6)
1864
Debug.Assert(node.
ValueOpt
IsNot Nothing Xor node.ConditionOpt IsNot Nothing)
1866
If node.
ValueOpt
IsNot Nothing Then
1867
VisitRvalue(node.
ValueOpt
)
1877
Debug.Assert(node.
ValueOpt
IsNot Nothing Xor node.ConditionOpt IsNot Nothing)
1879
If node.
ValueOpt
IsNot Nothing Then
1880
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)
5154
If valueOpt IsNot Me.
ValueOpt
OrElse conditionOpt IsNot Me.ConditionOpt Then
5250
If operatorKind <> Me.OperatorKind OrElse valueOpt IsNot Me.
ValueOpt
OrElse conditionOpt IsNot Me.ConditionOpt Then
11571
Me.Visit(node.
ValueOpt
)
11585
Me.Visit(node.
ValueOpt
)
12599
Dim valueOpt As BoundExpression = DirectCast(Me.Visit(node.
ValueOpt
), BoundExpression)
12613
Dim valueOpt As BoundExpression = DirectCast(Me.Visit(node.
ValueOpt
), BoundExpression)
13901
New TreeDumperNode("valueOpt", Nothing, new TreeDumperNode() {Visit(node.
ValueOpt
, Nothing)}),
13918
New TreeDumperNode("valueOpt", Nothing, new TreeDumperNode() {Visit(node.
ValueOpt
, Nothing)}),
Lowering\LocalRewriter\LocalRewriter_SelectCase.vb (4)
359
Debug.Assert(simpleCaseClause.
ValueOpt
IsNot Nothing)
362
constant = simpleCaseClause.
ValueOpt
.ConstantValueOpt
368
Debug.Assert(relationalCaseClause.
ValueOpt
IsNot Nothing)
371
constant = relationalCaseClause.
ValueOpt
.ConstantValueOpt
Lowering\SyntheticBoundNodeFactory.vb (1)
709
Dim v1 = l.
ValueOpt
.ConstantValueOpt.Int32Value
Operations\VisualBasicOperationFactory_Methods.vb (1)
360
Return GetCaseClauseValue(clause.
ValueOpt
, clause.ConditionOpt)