1 instantiation of BoundFunctionPointerInvocation
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
1473var 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)
855return CheckMethodReturnValueKind(((BoundFunctionPointerInvocation)expr).FunctionPointer.Signature, 3442var ptrInvocation = (BoundFunctionPointerInvocation)expr; 3881var functionPointerInvocation = (BoundFunctionPointerInvocation)expr; 4149var ptrInvocation = (BoundFunctionPointerInvocation)expr; 4864var 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)
122var 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)
12099public override BoundNode? VisitFunctionPointerInvocation(BoundFunctionPointerInvocation node)
Generated\BoundNodes.xml.Generated.cs (10)
1469public BoundFunctionPointerInvocation Update(BoundExpression invokedExpression, ImmutableArray<BoundExpression> arguments, ImmutableArray<RefKind> argumentRefKindsOpt, LookupResultKind resultKind, TypeSymbol type) 1473var result = new BoundFunctionPointerInvocation(this.Syntax, invokedExpression, arguments, argumentRefKindsOpt, resultKind, type, this.HasErrors); 8898return VisitFunctionPointerInvocation((BoundFunctionPointerInvocation)node, arg); 9337public virtual R VisitFunctionPointerInvocation(BoundFunctionPointerInvocation node, A arg) => this.DefaultVisit(node, arg); 9573public virtual BoundNode? VisitFunctionPointerInvocation(BoundFunctionPointerInvocation node) => this.DefaultVisit(node); 9875public override BoundNode? VisitFunctionPointerInvocation(BoundFunctionPointerInvocation node) 10979public override BoundNode? VisitFunctionPointerInvocation(BoundFunctionPointerInvocation node) 12639public override BoundNode? VisitFunctionPointerInvocation(BoundFunctionPointerInvocation node) 12643BoundFunctionPointerInvocation updatedNode; 15235public 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;