53 references to BoundDirectCast
Microsoft.CodeAnalysis.VisualBasic (52)
Binding\Binder_Conversions.vb (10)
82Return New BoundDirectCast(node, argument, conversionKind:=Nothing, type:=targetType, hasErrors:=True) 99argument = New BoundDirectCast(node, argument, ConversionKind.Identity, targetType) 108Return New BoundDirectCast(node, argument, conv, targetType, hasErrors:=True) 114Return New BoundDirectCast(node, argument, conv, targetType, hasErrors:=True) 124Return New BoundDirectCast(node, argument, conv, targetType, hasErrors:=True) 132Return New BoundDirectCast(node, argument, conv, targetType, hasErrors:=True) 1257argument = New BoundDirectCast(tree, argument, convKind, targetType, hasErrors:=hasErrors) 1384Return New BoundDirectCast(tree, errorRecovery, convKind, targetType, hasErrors:=True) 1545Return New BoundDirectCast(tree, lambda, convKind, targetType, hasErrors:=True).MakeCompilerGenerated() 1596Return New BoundDirectCast(tree, lambda, convKind, targetType).MakeCompilerGenerated()
Binding\Binder_Expressions.vb (1)
1491argument = New BoundDirectCast(tree, argument, conv, destination)
Binding\SyntheticBoundTrees\AnonymousTypeSyntheticMethods.vb (4)
146New BoundDirectCast(syntax, 212Dim valIsNotNothing = BuildIsCheck(New BoundDirectCast(syntax, boundValReference, 302Return New BoundDirectCast(Syntax, 353boundFieldAccessArray(index) = New BoundDirectCast(syntax,
Lowering\LambdaRewriter\LambdaRewriter.vb (1)
440New BoundDirectCast(syntaxNode, parameterExpr.MakeRValue(), ConversionKind.WideningReference, obj, Nothing),
Lowering\LocalRewriter\LocalRewriter_BinaryOperators.vb (1)
611result = New BoundDirectCast(node.Syntax, op, ConversionKind.WideningValue, node.Type, Nothing)
Lowering\LocalRewriter\LocalRewriter_Conversion.vb (9)
442Return New BoundDirectCast(node.Syntax, 455Return New BoundDirectCast(node.Syntax, 644Return New BoundDirectCast(node.Syntax, 657Return New BoundDirectCast(node.Syntax, 670Return New BoundDirectCast(node.Syntax, 890operand = New BoundDirectCast(operand.Syntax, 915Return New BoundDirectCast(node.Syntax, node.Operand, node.ConversionKind, node.Type, Nothing) 965operand = New BoundDirectCast(operand.Syntax, 1425returnValue = New BoundDirectCast(node.Syntax, DirectCast(Visit(operand), BoundExpression), node.ConversionKind, typeTo, Nothing)
Lowering\LocalRewriter\LocalRewriter_LateAddressOf.vb (1)
146Dim result = New BoundDirectCast(syntaxNode,
Lowering\LocalRewriter\LocalRewriter_LateBindingHelpers.vb (7)
30rewrittenReceiver = New BoundDirectCast(node, rewrittenReceiver, convKind, objectType) 135argument = New BoundDirectCast(node, argument, convKind, objectType) 176rewrittenValue = New BoundDirectCast(node, rewrittenValue, convKind, objectType) 223argument = New BoundDirectCast(node, argument, convKind, objectType) 239rewrittenValue = New BoundDirectCast(node, rewrittenValue, convKind, objectType) 289argument = New BoundDirectCast(node, argument, convKind, objectType) 395value = New BoundDirectCast(syntax, value, conversionKind, targetType)
Lowering\LocalRewriter\LocalRewriter_LocalDeclaration.vb (1)
200Dim flagAsObject = New BoundDirectCast(syntax,
Lowering\LocalRewriter\LocalRewriter_ObjectCreation.vb (2)
46result = New BoundDirectCast(node.Syntax, result, conv, node.Type, Nothing) 92rewrittenObjectCreation = New BoundDirectCast(node.Syntax, factory.Call(Nothing, createInstance, callGetTypeFromCLSID), conversion, node.Type)
Lowering\LocalRewriter\LocalRewriter_OmittedArgument.vb (1)
28Return New BoundDirectCast(node.Syntax, fieldAccess, conversion, node.Type)
Lowering\LocalRewriter\LocalRewriter_RedimClause.vb (3)
54arrayValueAccess = New BoundDirectCast(node.Syntax, arrayValueAccess, 58valueBeingAssigned = New BoundDirectCast(node.Syntax, valueBeingAssigned, 70valueBeingAssigned = New BoundDirectCast(node.Syntax, valueBeingAssigned,
Lowering\SyntheticBoundNodeFactory.vb (2)
358expression = New BoundDirectCast(Me.Syntax, expression, conversion, Me.CurrentMethod.ReturnType) 637Return New BoundDirectCast(Me.Syntax,
Symbols\Source\SynthesizedEventAccessorSymbol.vb (6)
338delegateUpdate = New BoundDirectCast(syntax, 344New BoundDirectCast(syntax, boundBackingField.MakeRValue(), ConversionKind.WideningReference, updateMethod.Parameters(0).Type), 345New BoundDirectCast(syntax, boundParameter, ConversionKind.WideningReference, updateMethod.Parameters(1).Type)), 415delegateUpdate = New BoundDirectCast(syntax, 421New BoundDirectCast(syntax, boundTmps(1).MakeRValue(), ConversionKind.WideningReference, updateMethod.Parameters(0).Type), 422New BoundDirectCast(syntax, boundParameter, ConversionKind.WideningReference, updateMethod.Parameters(1).Type)),
Symbols\Source\SynthesizedSubmissionConstructorSymbol.vb (3)
80New BoundDirectCast(syntax, meReference, ConversionKind.Reference, type:=objectType), 92New BoundDirectCast(syntax, 112New BoundDirectCast(syntax,
Microsoft.CodeAnalysis.VisualBasic.ExpressionEvaluator.ExpressionCompiler (1)
Symbols\PlaceholderLocalSymbol.vb (1)
142Return New BoundDirectCast(