18 references to WhenFalse
Microsoft.CodeAnalysis.VisualBasic (18)
Analysis\FlowAnalysis\AbstractFlowPass.vb (3)
1423
VisitRvalue(node.
WhenFalse
)
1431
VisitRvalue(node.
WhenFalse
)
1439
VisitRvalue(node.
WhenFalse
)
BoundTree\BoundTernaryConditionalExpression.vb (2)
21
WhenFalse
.AssertRValue()
24
Debug.Assert(WhenTrue.Type.IsSameTypeIgnoringAll(
WhenFalse
.Type))
CodeGen\EmitExpression.vb (3)
1364
If(expr.
WhenFalse
.ConstantValueOpt?.IsIntegralValueZeroOrOne(isOneWhenFalse), False) AndAlso
1380
EmitExpression(expr.
WhenFalse
, used)
1401
Dim mergeTypeOfAlternative As TypeSymbol = StackMergeType(expr.
WhenFalse
)
CodeGen\Optimizer\StackScheduler.Analyzer.vb (1)
836
Dim whenFalse = DirectCast(Me.Visit(node.
WhenFalse
), BoundExpression)
Generated\BoundNodes.xml.Generated.vb (4)
1981
If 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
11280
Me.Visit(node.
WhenFalse
)
12264
Dim whenFalse As BoundExpression = DirectCast(Me.Visit(node.
WhenFalse
), BoundExpression)
13430
New TreeDumperNode("whenFalse", Nothing, new TreeDumperNode() {Visit(node.
WhenFalse
, Nothing)}),
Lowering\AsyncRewriter\AsyncRewriter.AsyncMethodToClassRewriter.Expressions.vb (1)
486
Dim whenFalse As BoundExpression = rewritten.
WhenFalse
Lowering\ExpressionLambdaRewriter\ExpressionLambdaRewriter_ConditionalExpresion.vb (1)
26
Dim whenFalse As BoundExpression = Visit(node.
WhenFalse
)
Lowering\LocalRewriter\LocalRewriter_ConditionalExpressions.vb (2)
335
If node.Condition.IsConstant AndAlso node.WhenTrue.IsConstant AndAlso node.
WhenFalse
.IsConstant Then
346
Return If(value, node.WhenTrue, node.
WhenFalse
)
Lowering\LocalRewriter\LocalRewriter_Conversion.vb (1)
366
Return CouldPossiblyBeNothing(F, t.WhenTrue) OrElse CouldPossiblyBeNothing(F, t.
WhenFalse
)