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