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