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