21 references to FunctionPointer
Microsoft.CodeAnalysis.CSharp (21)
Binder\Binder.ValueChecks.cs (5)
855return CheckMethodReturnValueKind(((BoundFunctionPointerInvocation)expr).FunctionPointer.Signature, 3444var methodSymbol = ptrInvocation.FunctionPointer.Signature; 3883FunctionPointerMethodSymbol signature = functionPointerInvocation.FunctionPointer.Signature; 4150var ptrSymbol = ptrInvocation.FunctionPointer.Signature; 4871var ptrSymbol = ptrInvocation.FunctionPointer.Signature;
Binder\RefSafetyAnalysis.cs (1)
889var method = node.FunctionPointer.Signature;
CodeGen\EmitAddress.cs (1)
123var funcPtrRefKind = funcPtrInvocation.FunctionPointer.Signature.RefKind;
CodeGen\EmitExpression.cs (6)
2223return ((BoundFunctionPointerInvocation)receiver).FunctionPointer.Signature.RefKind != RefKind.None; 2942Debug.Assert(left.FunctionPointer.Signature.RefKind != RefKind.None); 3138Debug.Assert(((BoundFunctionPointerInvocation)expression).FunctionPointer.Signature.RefKind != RefKind.None); 4029FunctionPointerMethodSymbol method = ptrInvocation.FunctionPointer.Signature; 4031var stackBehavior = GetCallStackBehavior(ptrInvocation.FunctionPointer.Signature, ptrInvocation.Arguments); 4040EmitSignatureToken(ptrInvocation.FunctionPointer, ptrInvocation.Syntax);
CodeGen\Optimizer.cs (1)
1061Debug.Assert(((BoundFunctionPointerInvocation)lhs).FunctionPointer.Signature.RefKind == RefKind.Ref, "only ref returning function pointers are assignable");
Compilation\CSharpSemanticModel.cs (1)
3458symbols = OneOrMany.Create<Symbol>(invocation.FunctionPointer);
FlowAnalysis\AbstractFlowPass.cs (1)
3749VisitArguments(node.Arguments, node.ArgumentRefKindsOpt, node.FunctionPointer.Signature);
FlowAnalysis\NullableWalker.cs (2)
12168node.FunctionPointer.Signature, 12174var returnTypeWithAnnotations = node.FunctionPointer.Signature.ReturnTypeWithAnnotations;
Lowering\LocalRewriter\LocalRewriter_CompoundAssignmentOperator.cs (1)
703Debug.Assert(((BoundFunctionPointerInvocation)originalLHS).FunctionPointer.Signature.RefKind != RefKind.None);
Lowering\LocalRewriter\LocalRewriter_FunctionPointerInvocation.cs (1)
22MethodSymbol functionPointer = node.FunctionPointer.Signature;
Operations\CSharpOperationFactory_Methods.cs (1)
253return DeriveArguments(boundFunctionPointerInvocation.FunctionPointer.Signature,