19 references to WhenTrue
Microsoft.CodeAnalysis.VisualBasic (19)
Analysis\FlowAnalysis\AbstractFlowPass.vb (3)
1425VisitRvalue(node.WhenTrue) 1429VisitRvalue(node.WhenTrue) 1435VisitRvalue(node.WhenTrue)
BoundTree\BoundTernaryConditionalExpression.vb (3)
20WhenTrue.AssertRValue() 24Debug.Assert(WhenTrue.Type.IsSameTypeIgnoringAll(WhenFalse.Type)) 25Debug.Assert(Type.IsSameTypeIgnoringAll(WhenTrue.Type))
CodeGen\EmitExpression.vb (3)
1363If(expr.WhenTrue.ConstantValueOpt?.IsIntegralValueZeroOrOne(isOneWhenTrue), False) AndAlso 1416EmitExpression(expr.WhenTrue, used) 1419Dim mergeTypeOfConsequence As TypeSymbol = StackMergeType(expr.WhenTrue)
CodeGen\Optimizer\StackScheduler.Analyzer.vb (1)
831Dim whenTrue = DirectCast(Me.Visit(node.WhenTrue), BoundExpression)
Generated\BoundNodes.xml.Generated.vb (4)
1981If condition IsNot Me.Condition OrElse whenTrue IsNot Me.WhenTrue OrElse whenFalse IsNot Me.WhenFalse OrElse constantValueOpt IsNot Me.ConstantValueOpt OrElse type IsNot Me.Type Then 11279Me.Visit(node.WhenTrue) 12263Dim whenTrue As BoundExpression = DirectCast(Me.Visit(node.WhenTrue), BoundExpression) 13429New TreeDumperNode("whenTrue", Nothing, new TreeDumperNode() {Visit(node.WhenTrue, Nothing)}),
Lowering\AsyncRewriter\AsyncRewriter.AsyncMethodToClassRewriter.Expressions.vb (1)
485Dim whenTrue As BoundExpression = rewritten.WhenTrue
Lowering\ExpressionLambdaRewriter\ExpressionLambdaRewriter_ConditionalExpresion.vb (1)
25Dim whenTrue As BoundExpression = Visit(node.WhenTrue)
Lowering\LocalRewriter\LocalRewriter_ConditionalExpressions.vb (2)
335If node.Condition.IsConstant AndAlso node.WhenTrue.IsConstant AndAlso node.WhenFalse.IsConstant Then 346Return If(value, node.WhenTrue, node.WhenFalse)
Lowering\LocalRewriter\LocalRewriter_Conversion.vb (1)
366Return CouldPossiblyBeNothing(F, t.WhenTrue) OrElse CouldPossiblyBeNothing(F, t.WhenFalse)