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