19 references to WhenTrue
Microsoft.CodeAnalysis.VisualBasic (19)
Analysis\FlowAnalysis\AbstractFlowPass.vb (3)
1425
VisitRvalue(node.
WhenTrue
)
1429
VisitRvalue(node.
WhenTrue
)
1435
VisitRvalue(node.
WhenTrue
)
BoundTree\BoundTernaryConditionalExpression.vb (3)
20
WhenTrue
.AssertRValue()
24
Debug.Assert(
WhenTrue
.Type.IsSameTypeIgnoringAll(WhenFalse.Type))
25
Debug.Assert(Type.IsSameTypeIgnoringAll(
WhenTrue
.Type))
CodeGen\EmitExpression.vb (3)
1363
If(expr.
WhenTrue
.ConstantValueOpt?.IsIntegralValueZeroOrOne(isOneWhenTrue), False) AndAlso
1416
EmitExpression(expr.
WhenTrue
, used)
1419
Dim mergeTypeOfConsequence As TypeSymbol = StackMergeType(expr.
WhenTrue
)
CodeGen\Optimizer\StackScheduler.Analyzer.vb (1)
831
Dim whenTrue = DirectCast(Me.Visit(node.
WhenTrue
), 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
11279
Me.Visit(node.
WhenTrue
)
12263
Dim whenTrue As BoundExpression = DirectCast(Me.Visit(node.
WhenTrue
), BoundExpression)
13429
New TreeDumperNode("whenTrue", Nothing, new TreeDumperNode() {Visit(node.
WhenTrue
, Nothing)}),
Lowering\AsyncRewriter\AsyncRewriter.AsyncMethodToClassRewriter.Expressions.vb (1)
485
Dim whenTrue As BoundExpression = rewritten.
WhenTrue
Lowering\ExpressionLambdaRewriter\ExpressionLambdaRewriter_ConditionalExpresion.vb (1)
25
Dim whenTrue As BoundExpression = Visit(node.
WhenTrue
)
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)