21 references to DirectCast
Microsoft.CodeAnalysis.VisualBasic (21)
Analysis\FlowAnalysis\DataFlowPass.vb (1)
1656Case BoundKind.DirectCast
Binding\Binder_Attributes.vb (1)
762Case BoundKind.DirectCast
Binding\Binder_Conversions.vb (1)
98Debug.Assert(argument.Kind <> BoundKind.DirectCast, "Associated wrong node with conversion?")
Binding\Binder_Operators.vb (2)
931While cast.Kind = BoundKind.Conversion OrElse cast.Kind = BoundKind.DirectCast 945Case BoundKind.DirectCast
Binding\Binder_Utils.vb (1)
1319Case BoundKind.DirectCast
BoundTree\BoundExpressionExtensions.vb (1)
44Case BoundKind.DirectCast
BoundTree\BoundTreeVisitor.vb (1)
41Case BoundKind.DirectCast
CodeGen\EmitExpression.vb (5)
101Case BoundKind.DirectCast 725ElseIf receiver.Kind = BoundKind.DirectCast AndAlso IsUnboxingDirectCast(DirectCast(receiver, BoundDirectCast)) Then 756If receiver.Kind = BoundKind.DirectCast AndAlso IsUnboxingDirectCast(DirectCast(receiver, BoundDirectCast)) Then 899Case BoundKind.DirectCast 1513Case BoundKind.DirectCast
Generated\BoundNodes.xml.Generated.vb (2)
2317MyBase.New(BoundKind.DirectCast, syntax, type, hasErrors OrElse operand.NonNullAndHasErrors() OrElse relaxationLambdaOpt.NonNullAndHasErrors()) 9426Case BoundKind.[DirectCast]
Lowering\ExpressionLambdaRewriter\ExpressionLambdaRewriter.vb (1)
225Case BoundKind.DirectCast
Lowering\LocalRewriter\LocalRewriter_AssignmentOperator.vb (2)
407Case BoundKind.DirectCast, 413If nodeToCheck.Kind = BoundKind.DirectCast Then
Lowering\LocalRewriter\LocalRewriter_BinaryOperators.vb (3)
180Case BoundKind.DirectCast 561If left.Kind = BoundKind.DirectCast Then 569If right.Kind = BoundKind.DirectCast Then