24 references to ConditionOpt
Microsoft.CodeAnalysis.VisualBasic (24)
Analysis\FlowAnalysis\AbstractFlowPass.vb (4)
1880Debug.Assert(node.ValueOpt IsNot Nothing Xor node.ConditionOpt IsNot Nothing) 1885VisitRvalue(node.ConditionOpt) 1893Debug.Assert(node.ValueOpt IsNot Nothing Xor node.ConditionOpt IsNot Nothing) 1898VisitRvalue(node.ConditionOpt)
Binding\Binder_SelectCase.vb (6)
474Debug.Assert(boundClause.ConditionOpt IsNot Nothing Xor boundClause.ValueOpt IsNot Nothing) 476conditionOpt = If(boundClause.ConditionOpt, BindBinaryOperator(node:=syntax, 490Debug.Assert(boundClause.ConditionOpt IsNot Nothing Xor boundClause.ValueOpt IsNot Nothing) 492conditionOpt = If(boundClause.ConditionOpt, BindBinaryOperator(node:=boundClause.Syntax, 590Debug.Assert(relationalClause.ValueOpt IsNot Nothing Xor relationalClause.ConditionOpt IsNot Nothing) 638Debug.Assert(simpleCaseClause.ValueOpt IsNot Nothing Xor simpleCaseClause.ConditionOpt IsNot Nothing)
BoundTree\BoundRelationalCaseClause.vb (1)
11ValidateValueAndCondition(ValueOpt, ConditionOpt, OperatorKind)
BoundTree\BoundSimpleCaseClause.vb (1)
15ValidateValueAndCondition(ValueOpt, ConditionOpt, BinaryOperatorKind.Equals)
CodeGen\EmitStatement.vb (2)
997Debug.Assert(simpleCaseClause.ConditionOpt Is Nothing) 1006Debug.Assert(relationalCaseClause.ConditionOpt Is Nothing)
Generated\BoundNodes.xml.Generated.vb (8)
5157If valueOpt IsNot Me.ValueOpt OrElse conditionOpt IsNot Me.ConditionOpt Then 5253If operatorKind <> Me.OperatorKind OrElse valueOpt IsNot Me.ValueOpt OrElse conditionOpt IsNot Me.ConditionOpt Then 11590Me.Visit(node.ConditionOpt) 11604Me.Visit(node.ConditionOpt) 12618Dim conditionOpt As BoundExpression = DirectCast(Me.Visit(node.ConditionOpt), BoundExpression) 12632Dim conditionOpt As BoundExpression = DirectCast(Me.Visit(node.ConditionOpt), BoundExpression) 13923New TreeDumperNode("conditionOpt", Nothing, new TreeDumperNode() {Visit(node.ConditionOpt, Nothing)}) 13940New TreeDumperNode("conditionOpt", Nothing, new TreeDumperNode() {Visit(node.ConditionOpt, Nothing)})
Lowering\LocalRewriter\LocalRewriter_SelectCase.vb (2)
356Debug.Assert(simpleCaseClause.ConditionOpt Is Nothing) 365Debug.Assert(relationalCaseClause.ConditionOpt Is Nothing)