21 references to FunctionPointer
Microsoft.CodeAnalysis.CSharp (21)
Binder\Binder.ValueChecks.cs (5)
878return CheckMethodReturnValueKind(((BoundFunctionPointerInvocation)expr).FunctionPointer.Signature, 3467var methodSymbol = ptrInvocation.FunctionPointer.Signature; 3906FunctionPointerMethodSymbol signature = functionPointerInvocation.FunctionPointer.Signature; 4174var ptrSymbol = ptrInvocation.FunctionPointer.Signature; 4889var ptrSymbol = ptrInvocation.FunctionPointer.Signature;
Binder\RefSafetyAnalysis.cs (1)
864var method = node.FunctionPointer.Signature;
CodeGen\EmitAddress.cs (1)
125var 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)
3745VisitArguments(node.Arguments, node.ArgumentRefKindsOpt, node.FunctionPointer.Signature);
FlowAnalysis\NullableWalker.cs (2)
12110node.FunctionPointer.Signature, 12116var 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,