23 references to Condition
Microsoft.CodeAnalysis.VisualBasic (23)
Analysis\FlowAnalysis\AbstractFlowPass.vb (3)
1416
VisitCondition(node.
Condition
)
1421
If IsConstantTrue(node.
Condition
) Then
1427
ElseIf IsConstantFalse(node.
Condition
) Then
BoundTree\BoundTernaryConditionalExpression.vb (4)
18
Condition
.AssertRValue()
23
Debug.Assert(
Condition
.IsNothingLiteral() OrElse
Condition
.Type.IsBooleanType() OrElse Not
Condition
.Type.IsValueType)
CodeGen\EmitExpression.vb (2)
1366
TryEmitComparison(expr.
Condition
, sense:=isOneWhenTrue) Then
1379
EmitCondBranch(expr.
Condition
, consequenceLabel, sense:=True)
CodeGen\Optimizer\StackScheduler.Analyzer.vb (1)
826
Dim condition = DirectCast(Me.Visit(node.
Condition
), 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
11278
Me.Visit(node.
Condition
)
12262
Dim condition As BoundExpression = DirectCast(Me.Visit(node.
Condition
), BoundExpression)
13428
New TreeDumperNode("condition", Nothing, new TreeDumperNode() {Visit(node.
Condition
, Nothing)}),
Lowering\AsyncRewriter\AsyncRewriter.AsyncMethodToClassRewriter.Expressions.vb (1)
484
Dim condition As BoundExpression = rewritten.
Condition
Lowering\ExpressionLambdaRewriter\ExpressionLambdaRewriter_ConditionalExpresion.vb (1)
24
Dim condition As BoundExpression = Visit(node.
Condition
)
Lowering\LocalRewriter\LocalRewriter_ConditionalExpressions.vb (7)
335
If node.
Condition
.IsConstant AndAlso node.WhenTrue.IsConstant AndAlso node.WhenFalse.IsConstant Then
338
Debug.Assert(node.
Condition
.ConstantValueOpt.IsBoolean OrElse
339
node.
Condition
.ConstantValueOpt.IsNothing OrElse
340
node.
Condition
.ConstantValueOpt.IsString)
342
Dim value As Boolean = If(node.
Condition
.ConstantValueOpt.IsBoolean,
343
node.
Condition
.ConstantValueOpt.BooleanValue,
344
node.
Condition
.ConstantValueOpt.IsString)