29 references to BoundTryCast
Microsoft.CodeAnalysis.VisualBasic (29)
Analysis\FlowAnalysis\AbstractFlowPass.vb (1)
2353
Public Overrides Function VisitTryCast(node As
BoundTryCast
) As BoundNode
Analysis\FlowAnalysis\DataFlowPass.vb (1)
1660
value = DirectCast(value,
BoundTryCast
).Operand
Binding\Binder_Attributes.vb (1)
777
Dim conv = DirectCast(node,
BoundTryCast
)
Binding\Binder_Utils.vb (1)
1325
Dim conv = DirectCast(boundExpression,
BoundTryCast
)
Binding\MemberSemanticModel.vb (1)
2373
Public Overrides Function VisitTryCast(node As
BoundTryCast
) As BoundNode
BoundTree\BoundExpressionExtensions.vb (1)
53
constValue = DirectCast(node,
BoundTryCast
).Operand.ConstantValueOpt
BoundTree\BoundTreeVisitor.vb (1)
44
Return VisitTryCast(CType(node,
BoundTryCast
), arg)
CodeGen\EmitConversion.vb (2)
459
Private Function ConversionHasSideEffects(conversion As
BoundTryCast
) As Boolean
464
Private Sub EmitTryCastExpression(conversion As
BoundTryCast
, used As Boolean)
CodeGen\EmitExpression.vb (2)
105
EmitTryCastExpression(DirectCast(expression,
BoundTryCast
), used)
1521
Dim conversion = DirectCast(expr,
BoundTryCast
)
Generated\BoundNodes.xml.Generated.vb (7)
2439
Public Function Update(operand As BoundExpression, conversionKind As ConversionKind, constantValueOpt As ConstantValue, relaxationLambdaOpt As BoundLambda, type As TypeSymbol) As
BoundTryCast
9429
Return VisitTryCast(CType(node,
BoundTryCast
), arg)
9871
Public Overridable Function VisitTryCast(node As
BoundTryCast
, arg As A) As R
10574
Public Overridable Function VisitTryCast(node As
BoundTryCast
) As BoundNode
11319
Public Overrides Function VisitTryCast(node As
BoundTryCast
) As BoundNode
12310
Public Overrides Function VisitTryCast(node As
BoundTryCast
) As BoundNode
13492
Public Overrides Function VisitTryCast(node As
BoundTryCast
, arg As Object) As TreeDumperNode
Lowering\AsyncRewriter\AsyncRewriter.AsyncMethodToClassRewriter.Expressions.vb (2)
421
Public Overrides Function VisitTryCast(node As
BoundTryCast
) As BoundNode
422
Dim rewritten = DirectCast(MyBase.VisitTryCast(node),
BoundTryCast
)
Lowering\Diagnostics\DiagnosticsPass_ExpressionLambdas.vb (1)
338
Public Overrides Function VisitTryCast(node As
BoundTryCast
) As BoundNode
Lowering\ExpressionLambdaRewriter\ExpressionLambdaRewriter.vb (1)
250
Return VisitTryCast(DirectCast(node,
BoundTryCast
))
Lowering\ExpressionLambdaRewriter\ExpressionLambdaRewriter_Conversion.vb (1)
38
Private Function VisitTryCast(node As
BoundTryCast
) As BoundExpression
Lowering\LambdaRewriter\LambdaRewriter.Analysis.vb (1)
338
Public Overrides Function VisitTryCast(node As
BoundTryCast
) As BoundNode
Lowering\LambdaRewriter\LambdaRewriter.vb (1)
927
Public Overrides Function VisitTryCast(node As
BoundTryCast
) As BoundNode
Lowering\LocalRewriter\LocalRewriter_AssignmentOperator.vb (1)
418
Dim conversion = DirectCast(nodeToCheck,
BoundTryCast
)
Lowering\LocalRewriter\LocalRewriter_Conversion.vb (2)
278
Private Function RewriteLambdaRelaxationConversion(node As
BoundTryCast
) As BoundNode
1312
Public Overrides Function VisitTryCast(node As
BoundTryCast
) As BoundNode
Lowering\SyntheticBoundNodeFactory.vb (1)
623
Public Function [TryCast](expression As BoundExpression, type As TypeSymbol) As
BoundTryCast