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