1 instantiation of BoundFunctionPointerInvocation
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
1472var result = new BoundFunctionPointerInvocation(this.Syntax, invokedExpression, arguments, argumentRefKindsOpt, resultKind, type, this.HasErrors);
45 references to BoundFunctionPointerInvocation
Microsoft.CodeAnalysis.CSharp (45)
Binder\Binder.ValueChecks.cs (9)
878return CheckMethodReturnValueKind(((BoundFunctionPointerInvocation)expr).FunctionPointer.Signature, 3465var ptrInvocation = (BoundFunctionPointerInvocation)expr; 3904var functionPointerInvocation = (BoundFunctionPointerInvocation)expr; 4173var ptrInvocation = (BoundFunctionPointerInvocation)expr; 4888var ptrInvocation = (BoundFunctionPointerInvocation)expr;
Binder\Binder_Invocation.cs (1)
2342private BoundFunctionPointerInvocation BindFunctionPointerInvocation(SyntaxNode node, BoundExpression boundExpression, AnalyzedArguments analyzedArguments, BindingDiagnosticBag diagnostics)
Binder\RefSafetyAnalysis.cs (1)
858public override BoundNode? VisitFunctionPointerInvocation(BoundFunctionPointerInvocation node)
CodeGen\EmitAddress.cs (2)
124var funcPtrInvocation = (BoundFunctionPointerInvocation)expression;
CodeGen\EmitExpression.cs (6)
353EmitCalli((BoundFunctionPointerInvocation)expression, used ? UseKind.UsedAsValue : UseKind.Unused); 2223return ((BoundFunctionPointerInvocation)receiver).FunctionPointer.Signature.RefKind != RefKind.None; 2940var left = (BoundFunctionPointerInvocation)assignmentTarget; 3138Debug.Assert(((BoundFunctionPointerInvocation)expression).FunctionPointer.Signature.RefKind != RefKind.None); 4014private void EmitCalli(BoundFunctionPointerInvocation ptrInvocation, UseKind useKind)
CodeGen\Optimizer.cs (1)
1061Debug.Assert(((BoundFunctionPointerInvocation)lhs).FunctionPointer.Signature.RefKind == RefKind.Ref, "only ref returning function pointers are assignable");
Compilation\CSharpSemanticModel.cs (2)
3457var invocation = (BoundFunctionPointerInvocation)boundNode;
FlowAnalysis\AbstractFlowPass.cs (1)
3742public override BoundNode VisitFunctionPointerInvocation(BoundFunctionPointerInvocation node)
FlowAnalysis\NullableWalker.cs (1)
12102public override BoundNode? VisitFunctionPointerInvocation(BoundFunctionPointerInvocation node)
Generated\BoundNodes.xml.Generated.cs (10)
1468public BoundFunctionPointerInvocation Update(BoundExpression invokedExpression, ImmutableArray<BoundExpression> arguments, ImmutableArray<RefKind> argumentRefKindsOpt, LookupResultKind resultKind, TypeSymbol type) 1472var result = new BoundFunctionPointerInvocation(this.Syntax, invokedExpression, arguments, argumentRefKindsOpt, resultKind, type, this.HasErrors); 8897return VisitFunctionPointerInvocation((BoundFunctionPointerInvocation)node, arg); 9336public virtual R VisitFunctionPointerInvocation(BoundFunctionPointerInvocation node, A arg) => this.DefaultVisit(node, arg); 9572public virtual BoundNode? VisitFunctionPointerInvocation(BoundFunctionPointerInvocation node) => this.DefaultVisit(node); 9874public override BoundNode? VisitFunctionPointerInvocation(BoundFunctionPointerInvocation node) 10978public override BoundNode? VisitFunctionPointerInvocation(BoundFunctionPointerInvocation node) 12638public override BoundNode? VisitFunctionPointerInvocation(BoundFunctionPointerInvocation node) 12642BoundFunctionPointerInvocation updatedNode; 15234public override TreeDumperNode VisitFunctionPointerInvocation(BoundFunctionPointerInvocation node, object? arg) => new TreeDumperNode("functionPointerInvocation", null, new TreeDumperNode[]
Lowering\DiagnosticsPass_ExpressionTrees.cs (1)
1047public override BoundNode VisitFunctionPointerInvocation(BoundFunctionPointerInvocation node)
Lowering\Instrumentation\CompoundInstrumenter.cs (1)
178public override BoundExpression InstrumentFunctionPointerInvocation(BoundFunctionPointerInvocation original, BoundExpression rewritten)
Lowering\Instrumentation\Instrumenter.cs (1)
251public virtual BoundExpression InstrumentFunctionPointerInvocation(BoundFunctionPointerInvocation original, BoundExpression rewritten)
Lowering\Instrumentation\LocalStateTracingInstrumenter.cs (1)
549public override BoundExpression InstrumentFunctionPointerInvocation(BoundFunctionPointerInvocation original, BoundExpression rewritten)
Lowering\LocalRewriter\LocalRewriter_CompoundAssignmentOperator.cs (1)
703Debug.Assert(((BoundFunctionPointerInvocation)originalLHS).FunctionPointer.Signature.RefKind != RefKind.None);
Lowering\LocalRewriter\LocalRewriter_FunctionPointerInvocation.cs (1)
14public override BoundNode? VisitFunctionPointerInvocation(BoundFunctionPointerInvocation node)
Lowering\SpillSequenceSpiller.cs (1)
1082public override BoundNode VisitFunctionPointerInvocation(BoundFunctionPointerInvocation node)
Operations\CSharpOperationFactory.cs (2)
279return CreateBoundFunctionPointerInvocationOperation((BoundFunctionPointerInvocation)boundNode); 472private IOperation CreateBoundFunctionPointerInvocationOperation(BoundFunctionPointerInvocation boundFunctionPointerInvocation)
Operations\CSharpOperationFactory_Methods.cs (2)
252var boundFunctionPointerInvocation = (BoundFunctionPointerInvocation)containingExpression;