28 references to TestExpression
Microsoft.CodeAnalysis.VisualBasic (28)
Analysis\FlowAnalysis\AbstractFlowPass.vb (3)
1448VisitRvalue(node.TestExpression) 1449If node.TestExpression.IsConstant AndAlso node.TestExpression.ConstantValueOpt.IsNothing Then
BoundTree\BoundBinaryConditionalExpression.vb (6)
25TestExpression.AssertRValue() 29(TestExpression.IsConstant AndAlso Not TestExpression.ConstantValueOpt.IsNothing) OrElse 37Debug.Assert(TestExpressionPlaceholder.Type.IsSameTypeIgnoringAll(TestExpression.Type.GetNullableUnderlyingTypeOrSelf())) 40If Not Type.IsSameTypeIgnoringAll(TestExpression.Type.GetNullableUnderlyingTypeOrSelf()) Then 41Dim conversion As ConversionKind = Conversions.ClassifyDirectCastConversion(TestExpression.Type, Type, CompoundUseSiteInfo(Of AssemblySymbol).Discarded)
CodeGen\EmitExpression.vb (3)
1449EmitExpression(expr.TestExpression, used:=True) 1452Dim mergeTypeOfLeftValue As TypeSymbol = StackMergeType(expr.TestExpression) 1463EmitBox(expr.Type, expr.TestExpression.Syntax)
CodeGen\Optimizer\StackScheduler.Analyzer.vb (1)
804Dim testExpression As BoundExpression = DirectCast(Me.Visit(node.TestExpression), BoundExpression)
Generated\BoundNodes.xml.Generated.vb (4)
2054If testExpression IsNot Me.TestExpression OrElse convertedTestExpression IsNot Me.ConvertedTestExpression OrElse testExpressionPlaceholder IsNot Me.TestExpressionPlaceholder OrElse elseExpression IsNot Me.ElseExpression OrElse constantValueOpt IsNot Me.ConstantValueOpt OrElse type IsNot Me.Type Then 11285Me.Visit(node.TestExpression) 12270Dim testExpression As BoundExpression = DirectCast(Me.Visit(node.TestExpression), BoundExpression) 13438New TreeDumperNode("testExpression", Nothing, new TreeDumperNode() {Visit(node.TestExpression, Nothing)}),
Lowering\AsyncRewriter\AsyncRewriter.AsyncMethodToClassRewriter.Expressions.vb (1)
940Dim testExpression As BoundExpression = rewritten.TestExpression
Lowering\ExpressionLambdaRewriter\ExpressionLambdaRewriter_ConditionalExpresion.vb (1)
31Dim testExpression As BoundExpression = node.TestExpression
Lowering\LocalRewriter\LocalRewriter_ConditionalExpressions.vb (8)
18If node.TestExpression.Type IsNot Nothing AndAlso node.TestExpression.Type.IsNullableType Then 33Debug.Assert(boundConversion.Operand Is If(node.TestExpressionPlaceholder, node.TestExpression)) 37node.Update(VisitExpressionNode(node.TestExpression), 51Dim rewrittenTestExpression = VisitExpressionNode(node.TestExpression) 126Dim testExpression As BoundExpression = node.TestExpression 178Dim testExpr = node.TestExpression 207Dim rewrittenLeft = Me.VisitExpressionNode(node.TestExpression)
Lowering\LocalRewriter\LocalRewriter_StringConcat.vb (1)
150flattened.AddRange(boundCoalesce.TestExpression)