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