84 instantiations of BoundCall
Microsoft.CodeAnalysis.VisualBasic (80)
Analysis\InitializerRewriter.vb (1)
151boundStatements.Add(New BoundCall(constructorMethod.Syntax,
Binding\Binder_Conversions.vb (1)
1137argument = New BoundCall(tree,
Binding\Binder_Expressions.vb (1)
1146result = New BoundCall(typeExpr.Syntax, [call].Method, [call].MethodGroupOpt, [call].ReceiverOpt, [call].Arguments,
Binding\Binder_Invocation.vb (2)
142expr = New BoundCall( 939Return New BoundCall(
Binding\SyntheticBoundTrees\AnonymousTypeSyntheticMethods.vb (4)
73Dim boundCallToEquals As BoundExpression = New BoundCall(syntax, Me._iEquatableEqualsMethod, Nothing, 156Dim boundGetHashCode = New BoundCall(syntax, getHashCodeMethod, Nothing, 273Dim boundCallToEquals As BoundExpression = New BoundCall(syntax, 373Dim [call] As BoundExpression = New BoundCall(syntax, formatMethod, Nothing, Nothing,
Binding\SyntheticBoundTrees\SynthesizedPropertyAccessorBase.vb (2)
51baseGet = New BoundCall( 279valueSettingExpression = New BoundCall(
BoundTree\BoundCall.vb (2)
24Me.New(syntax, method, methodGroupOpt, receiverOpt, arguments, defaultArguments, 42Me.New(syntax, method, methodGroupOpt, receiverOpt, arguments, defaultArguments:=BitVector.Null, constantValueOpt, isLValue, suppressObjectClone, type, hasErrors)
Compilation\MethodCompiler.vb (1)
2043baseInvocation = New BoundCall(syntaxNode, constructorToCall, Nothing, thisRef, ImmutableArray(Of BoundExpression).Empty, Nothing, voidType)
Generated\BoundNodes.xml.Generated.vb (1)
3103Dim result = New BoundCall(Me.Syntax, method, methodGroupOpt, receiverOpt, arguments, defaultArguments, constantValueOpt, isLValue, suppressObjectClone, type, Me.HasErrors)
Lowering\ExpressionLambdaRewriter\ExpressionLambdaRewriter.vb (1)
686New BoundCall(
Lowering\ExpressionLambdaRewriter\ExpressionLambdaRewriter_ConditionalExpresion.vb (1)
142New BoundCall(
Lowering\LocalRewriter\LocalRewriter.vb (2)
500Dim result As BoundExpression = New BoundCall(syntax, 841Dim boundNode = New BoundCall(
Lowering\LocalRewriter\LocalRewriter_AddRemoveHandler.vb (2)
156New BoundCall( 227expr = New BoundCall(node.Syntax,
Lowering\LocalRewriter\LocalRewriter_AssignmentOperator.vb (2)
451result = New BoundCall(expression.Syntax, getObjectValueMethod, Nothing, Nothing, 485Dim midCall = New BoundCall(node.Syntax,
Lowering\LocalRewriter\LocalRewriter_BinaryOperators.vb (10)
490Dim compare = New BoundCall(node.Syntax, memberSymbol, Nothing, Nothing, 529Dim compare = New BoundCall(node.Syntax, memberSymbol, Nothing, Nothing, 593left = New BoundCall(node.Syntax, memberSymbol, Nothing, Nothing, 598right = New BoundCall(node.Syntax, memberSymbol, Nothing, Nothing, 641result = New BoundCall(node.Syntax, memberSymbol, Nothing, Nothing, 669result = New BoundCall(node.Syntax, memberSymbol, Nothing, Nothing, 702Dim compare = New BoundCall(node.Syntax, memberSymbol, Nothing, Nothing, 734result = New BoundCall(node.Syntax, memberSymbol, Nothing, Nothing, 767result = New BoundCall(node.Syntax, memberSymbol, Nothing, Nothing, 792result = New BoundCall(node.Syntax, memberSymbol, Nothing, Nothing,
Lowering\LocalRewriter\LocalRewriter_Conversion.vb (7)
897result = New BoundCall(node.Syntax, memberSymbol, Nothing, Nothing, 975result = New BoundCall(node.Syntax, memberSymbol, Nothing, Nothing, 1075result = New BoundCall(node.Syntax, memberSymbol, Nothing, Nothing, 1120result = New BoundCall(node.Syntax, memberSymbol, Nothing, Nothing, 1214result = New BoundCall(node.Syntax, memberSymbol, Nothing, Nothing, 1257result = New BoundCall(node.Syntax, memberSymbol, Nothing, Nothing, 1310Dim callMathRound = New BoundCall(node.Syntax, mathRound, Nothing, Nothing,
Lowering\LocalRewriter\LocalRewriter_ForEach.vb (4)
263boundLimit = New BoundCall(syntaxNode, 293boundCurrent = New BoundCall(syntaxNode, 744boundCall = New BoundCall(syntaxNode, 760boundCall = New BoundCall(syntaxNode,
Lowering\LocalRewriter\LocalRewriter_ForTo.vb (2)
438rewrittenInitCondition = New BoundCall( 493rewrittenLoopCondition = New BoundCall(
Lowering\LocalRewriter\LocalRewriter_LateBindingHelpers.vb (5)
375value = New BoundCall(syntax, 500Dim callerInvocation As BoundExpression = New BoundCall( 583Return New BoundCall( 648Return New BoundCall( 827Dim callerInvocation As BoundExpression = New BoundCall(
Lowering\LocalRewriter\LocalRewriter_LocalDeclaration.vb (1)
223New BoundCall(syntax,
Lowering\LocalRewriter\LocalRewriter_NullableHelpers.vb (3)
194Return New BoundCall(expr.Syntax, 223Return New BoundCall(expr.Syntax, 251Return New BoundCall(expr.Syntax,
Lowering\LocalRewriter\LocalRewriter_ObjectCreation.vb (1)
143result = New BoundCall(syntax,
Lowering\LocalRewriter\LocalRewriter_Query.vb (1)
151getCallOrPropertyAccess = New BoundCall(syntax,
Lowering\LocalRewriter\LocalRewriter_RaiseEvent.vb (2)
134Dim getOrCreateCall = New BoundCall(syntax:=syntax, 145Dim invocationListAccessorCall = New BoundCall(syntax:=syntax,
Lowering\LocalRewriter\LocalRewriter_RedimClause.vb (1)
63valueBeingAssigned = New BoundCall(node.Syntax,
Lowering\LocalRewriter\LocalRewriter_SyncLock.vb (3)
95Dim boundHelperCall = New BoundCall(syntaxNode, 211boundMonitorEnterCall = New BoundCall(syntaxNode, 240boundMonitorExitCall = New BoundCall(syntaxNode,
Lowering\LocalRewriter\LocalRewriter_Throw.vb (1)
29expressionOpt = New BoundCall(node.Syntax, createProjectError, Nothing, Nothing,
Lowering\LocalRewriter\LocalRewriter_UnaryOperators.vb (2)
131result = New BoundCall(node.Syntax, memberSymbol, Nothing, Nothing, 155result = New BoundCall(node.Syntax, memberSymbol, Nothing, Nothing,
Lowering\LocalRewriter\LocalRewriter_UnstructuredExceptionHandling.vb (5)
283statements.Add(nodeFactory.Throw(New BoundCall(node.Syntax, createProjectError, Nothing, Nothing, 301New BoundCall(node.Syntax, clearProjectError, Nothing, Nothing, ImmutableArray(Of BoundExpression).Empty, Nothing, clearProjectError.ReturnType).ToStatement(), 338statements.Add(New BoundCall(node.Syntax, clearProjectError, Nothing, Nothing, ImmutableArray(Of BoundExpression).Empty, Nothing, clearProjectError.ReturnType).ToStatement) 397statements.Add(New BoundCall(node.Syntax, clearProjectError, Nothing, Nothing, ImmutableArray(Of BoundExpression).Empty, Nothing, clearProjectError.ReturnType).ToStatement) 411nodeFactory.Throw(New BoundCall(node.Syntax, createProjectError, Nothing, Nothing,
Lowering\LocalRewriter\LocalRewriter_XmlLiterals.vb (1)
316Return New BoundCall(syntax,
Lowering\MethodToClassRewriter\MethodToClassRewriter.MyBaseMyClassWrapper.vb (1)
115Dim boundCall As New BoundCall(syntax, wrappedMethod, Nothing, newReceiver,
Lowering\SyntheticBoundNodeFactory.vb (1)
591Dim boundNode = New BoundCall(
Symbols\Source\SynthesizedEntryPointSymbol.vb (1)
208Return New BoundCall(
Symbols\Source\SynthesizedEventAccessorSymbol.vb (5)
196Dim getOrCreateCall = New BoundCall( 215Dim processHandlerCall = New BoundCall( 339New BoundCall(syntax, 416New BoundCall(syntax, 439Dim compareExchange As BoundExpression = New BoundCall(syntax,
Microsoft.CodeAnalysis.VisualBasic.ExpressionEvaluator.ExpressionCompiler (4)
Rewriters\LocalDeclarationRewriter.vb (1)
75Dim expr = New BoundCall(
Symbols\ExceptionLocalSymbol.vb (1)
34Dim [call] As New BoundCall(
Symbols\ObjectIdLocalSymbol.vb (1)
106Dim result As New BoundCall(
Symbols\ReturnValueLocalSymbol.vb (1)
39Dim [call] As New BoundCall(
107 references to BoundCall
Microsoft.CodeAnalysis.VisualBasic (103)
Analysis\FlowAnalysis\AbstractFlowPass.vb (1)
1142Public Overrides Function VisitCall(node As BoundCall) As BoundNode
Analysis\ForLoopVerification.vb (1)
138Return DirectCast(expression, BoundCall).Method
Analysis\InitializerRewriter.vb (1)
268Dim callExpression = DirectCast(expression, BoundCall)
Binding\Binder_Expressions.vb (5)
1145Dim [call] = DirectCast(result, BoundCall) 1745Return DirectCast(expression, BoundCall).IsLValue 4639Dim method As MethodSymbol = DirectCast(operand, BoundCall).Method 4747Dim method As MethodSymbol = DirectCast(getAwaiter, BoundCall).Method 4841Dim method As MethodSymbol = DirectCast(getResult, BoundCall).Method
Binding\Binder_Invocation.vb (2)
141Dim callExpr = DirectCast(expr, BoundCall) 442Dim receiverOpt As BoundExpression = DirectCast(withoutArgs, BoundCall).ReceiverOpt
Binding\Binder_Query.vb (2)
4144source = New BoundToQueryableCollectionConversion(DirectCast(queryable, BoundCall)).MakeCompilerGenerated() 4680Dim delegateReturnType As TypeSymbol = DirectCast(boundCall, BoundCall).Method.Parameters(i).Type.DelegateOrExpressionDelegate(Me).DelegateInvokeMethod.ReturnType
Binding\Binder_Statements.vb (2)
2635Dim [call] = DirectCast(boundExpression, BoundCall) 4136DirectCast(boundMoveNextCall, BoundCall).Method.OriginalDefinition.ReturnType.SpecialType <> SpecialType.System_Boolean Then
Binding\MemberSemanticModel.vb (5)
751Dim getEnumeratorCall As BoundCall = DirectCast(enumeratorInfo.GetEnumerator, BoundCall) 759Dim moveNextCall As BoundCall = DirectCast(enumeratorInfo.MoveNext, BoundCall) 2262Public Overrides Function VisitCall(node As BoundCall) As BoundNode
BoundTree\BoundAssignmentOperator.vb (1)
143Dim value = TryCast(TryCast(node, BoundCall)?.Method?.AssociatedSymbol, PropertySymbol)?.ReturnsByRef
BoundTree\BoundCall.vb (1)
49Public Shadows Function MakeRValue() As BoundCall
BoundTree\BoundConversion.vb (2)
71Dim underlyingCall As BoundCall = udc.Call 92method = DirectCast(expr, BoundCall).Method
BoundTree\BoundToQueryableCollectionConversion.vb (1)
12Public Sub New([call] As BoundCall)
BoundTree\BoundTreeVisitor.vb (1)
60Return VisitCall(CType(node, BoundCall), arg)
BoundTree\BoundUserDefinedBinaryOperator.vb (3)
25Public ReadOnly Property [Call] As BoundCall 27Return DirectCast(UnderlyingExpression, BoundCall) 38Dim underlyingCall = DirectCast(UnderlyingExpression, BoundCall)
BoundTree\BoundUserDefinedConversion.vb (3)
43Public ReadOnly Property [Call] As BoundCall 46Return DirectCast(DirectCast(UnderlyingExpression, BoundConversion).Operand, BoundCall) 49Return DirectCast(UnderlyingExpression, BoundCall)
BoundTree\BoundUserDefinedUnaryOperator.vb (3)
19Public ReadOnly Property [Call] As BoundCall 21Return DirectCast(UnderlyingExpression, BoundCall) 32Dim underlyingCall = DirectCast(UnderlyingExpression, BoundCall)
CodeGen\EmitAddress.vb (2)
119Dim [call] = DirectCast(expression, BoundCall) 242Dim method = DirectCast(expression, BoundCall).Method
CodeGen\EmitExpression.vb (4)
79EmitCallExpression(DirectCast(expression, BoundCall), If(used, UseKind.UsedAsValue, UseKind.Unused)) 961Private Sub EmitCallExpression([call] As BoundCall, useKind As UseKind) 1836Dim left = DirectCast(assignmentTarget, BoundCall) 1941Debug.Assert(DirectCast(expression, BoundCall).Method.ReturnsByRef)
CodeGen\Optimizer\StackScheduler.Analyzer.vb (2)
629Return DirectCast(node, BoundCall).Method.ReturnsByRef 656Public Overrides Function VisitCall(node As BoundCall) As BoundNode
Compilation\MethodCompiler.vb (2)
1425Return DirectCast(expression, BoundCall).Method 1838Public Overrides Function VisitCall(node As BoundCall) As BoundNode
Compilation\SemanticModel.vb (1)
1289Dim parentCall = DirectCast(boundNodes.LowestBoundNodeOfSyntacticParent, BoundCall)
Generated\BoundNodes.xml.Generated.vb (13)
3101Public Function Update(method As MethodSymbol, methodGroupOpt As BoundMethodGroup, receiverOpt As BoundExpression, arguments As ImmutableArray(Of BoundExpression), defaultArguments As BitVector, constantValueOpt As ConstantValue, isLValue As Boolean, suppressObjectClone As Boolean, type As TypeSymbol) As BoundCall 7018Public Sub New(syntax As SyntaxNode, conversionCall As BoundCall, type As TypeSymbol, Optional hasErrors As Boolean = False) 7028Private ReadOnly _ConversionCall As BoundCall 7029Public ReadOnly Property ConversionCall As BoundCall 7040Public Function Update(conversionCall As BoundCall, type As TypeSymbol) As BoundToQueryableCollectionConversion 9423Return VisitCall(CType(node, BoundCall), arg) 9893Public Overridable Function VisitCall(node As BoundCall, arg As A) As R 10596Public Overridable Function VisitCall(node As BoundCall) As BoundNode 11357Public Overrides Function VisitCall(node As BoundCall) As BoundNode 12354Public Overrides Function VisitCall(node As BoundCall) As BoundNode 12809Dim conversionCall As BoundCall = DirectCast(Me.Visit(node.ConversionCall), BoundCall) 13563Public Overrides Function VisitCall(node As BoundCall, arg As Object) As TreeDumperNode
Lowering\AsyncRewriter\AsyncRewriter.AsyncMethodToClassRewriter.Expressions.vb (2)
93Public Overrides Function VisitCall(node As BoundCall) As BoundNode 94Dim rewritten = DirectCast(MyBase.VisitCall(node), BoundCall)
Lowering\Diagnostics\DiagnosticsPass_ExpressionLambdas.vb (1)
253Public Overrides Function VisitCall(node As BoundCall) As BoundNode
Lowering\ExpressionLambdaRewriter\ExpressionLambdaRewriter.vb (3)
215Return VisitCall(DirectCast(node, BoundCall)) 367Private Function VisitCall(node As BoundCall) As BoundExpression 615Dim [call] = DirectCast(initializers(i), BoundCall)
Lowering\ExpressionLambdaRewriter\ExpressionLambdaRewriter_BinaryOperator.vb (4)
120Dim [call] As BoundCall = node.Call 657Private Function AdjustCallForLiftedOperator(opKind As BinaryOperatorKind, [call] As BoundCall, resultType As TypeSymbol) As BoundExpression 664Private Function AdjustCallForLiftedOperator(opKind As UnaryOperatorKind, [call] As BoundCall, resultType As TypeSymbol) As BoundExpression 671Private Function AdjustCallForLiftedOperator_DoNotCallDirectly([call] As BoundCall, resultType As TypeSymbol) As BoundExpression
Lowering\ExpressionLambdaRewriter\ExpressionLambdaRewriter_ConditionalExpresion.vb (1)
184Dim [call] As BoundCall = userDefinedConv.Call
Lowering\ExpressionLambdaRewriter\ExpressionLambdaRewriter_Conversion.vb (1)
364Dim methodCall As BoundCall = node.Call
Lowering\ExpressionLambdaRewriter\ExpressionLambdaRewriter_UnaryOperator.vb (3)
119Dim [call] As BoundCall = userDefinedOperator.Call 141Private Function BuildLambdaBodyForCoalesce(opKind As UnaryOperatorKind, [call] As BoundCall, resultType As TypeSymbol, lambdaParameter As ParameterSymbol) As BoundExpression 188Dim [call] As BoundCall = node.Call
Lowering\LambdaRewriter\LambdaRewriter.vb (5)
1360Public Overrides Function VisitCall(node As BoundCall) As BoundNode 1364Dim rewrittenCall As BoundCall = DirectCast(rewritten, BoundCall) 1413Private Function OptimizeMethodCallForDelegateInvoke(node As BoundCall) As BoundCall
Lowering\LocalRewriter\LocalRewriter_BinaryOperators.vb (1)
200Dim boundCall = DirectCast(operand, BoundCall)
Lowering\LocalRewriter\LocalRewriter_Call.vb (1)
16Public Overrides Function VisitCall(node As BoundCall) As BoundNode
Lowering\LocalRewriter\LocalRewriter_Conversion.vb (5)
373Dim t = DirectCast(node, BoundCall) 700Dim operatorCall As BoundCall = node.Call 1284Dim callOperand = DirectCast(operand, BoundCall) 1325Private Function ReturnsWholeNumberDouble(node As BoundCall) As Boolean 1350Private Function IsFloatingTruncation(node As BoundCall) As Boolean
Lowering\LocalRewriter\LocalRewriter_ExpressionStatement.vb (1)
41Return DirectCast(expression, BoundCall).Method.CallsAreOmitted(expression.Syntax, expression.SyntaxTree)
Lowering\LocalRewriter\LocalRewriter_RaiseEvent.vb (1)
19Dim raiseCallExpression = DirectCast(node.EventInvocation, BoundCall)
Lowering\LocalRewriter\LocalRewriter_StringConcat.vb (2)
118Dim boundCall As BoundCall = DirectCast(lowered, BoundCall)
Lowering\LocalRewriter\LocalRewriter_XmlLiterals.vb (1)
233Dim [call] = DirectCast(origSideEffects(i), BoundCall)
Lowering\MethodToClassRewriter\MethodToClassRewriter.vb (1)
133Public Overrides Function VisitCall(node As BoundCall) As BoundNode
Lowering\SyntheticBoundNodeFactory.vb (3)
581Public Function [Call](receiver As BoundExpression, method As MethodSymbol) As BoundCall 585Public Function [Call](receiver As BoundExpression, method As MethodSymbol, ParamArray args As BoundExpression()) As BoundCall 589Public Function [Call](receiver As BoundExpression, method As MethodSymbol, args As ImmutableArray(Of BoundExpression)) As BoundCall
Lowering\UseTwiceRewriter.vb (2)
118Return UseTwiceCall(containingMember, DirectCast(value, BoundCall), temporaries) 204Private Shared Function UseTwiceCall(containingMember As Symbol, node As BoundCall, arg As ArrayBuilder(Of SynthesizedLocal)) As Result
Operations\VisualBasicOperationFactory.vb (4)
82Return CreateBoundCallOperation(DirectCast(boundNode, BoundCall)) 438Private Function CreateBoundCallOperation(boundCall As BoundCall) As IInvocationOperation 1478Dim eventInvocation = DirectCast(boundRaiseEventStatement.EventInvocation, BoundCall) 1511Dim eventInvocation = TryCast(boundRaiseEventStatement.EventInvocation, BoundCall)
Operations\VisualBasicOperationFactory_Methods.vb (2)
172Dim boundCall = DirectCast(boundNode, BoundCall) 185Return DeriveArguments(DirectCast(boundRaiseEvent.EventInvocation, BoundCall))
Symbols\Source\SynthesizedEntryPointSymbol.vb (1)
207Private Shared Function CreateParameterlessCall(syntax As VisualBasicSyntaxNode, receiver As BoundExpression, method As MethodSymbol) As BoundCall
Microsoft.CodeAnalysis.VisualBasic.ExpressionEvaluator.ExpressionCompiler (4)
CompilationContext.vb (3)
543Return IsCallStatement(DirectCast(expression, BoundCall)) 545Dim [call] = TryCast(DirectCast(expression, BoundConditionalAccess).AccessExpression, BoundCall) 552Private Shared Function IsCallStatement([call] As BoundCall) As Boolean
Rewriters\MayHaveSideEffectsVisitor.vb (1)
36Public Overrides Function VisitCall(node As BoundCall) As BoundNode