21 references to FunctionPointer
Microsoft.CodeAnalysis.CSharp (21)
Binder\Binder.ValueChecks.cs (5)
855
return CheckMethodReturnValueKind(((BoundFunctionPointerInvocation)expr).
FunctionPointer
.Signature,
3444
var methodSymbol = ptrInvocation.
FunctionPointer
.Signature;
3883
FunctionPointerMethodSymbol signature = functionPointerInvocation.
FunctionPointer
.Signature;
4150
var ptrSymbol = ptrInvocation.
FunctionPointer
.Signature;
4871
var ptrSymbol = ptrInvocation.
FunctionPointer
.Signature;
Binder\RefSafetyAnalysis.cs (1)
889
var method = node.
FunctionPointer
.Signature;
CodeGen\EmitAddress.cs (1)
123
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)
3749
VisitArguments(node.Arguments, node.ArgumentRefKindsOpt, node.
FunctionPointer
.Signature);
FlowAnalysis\NullableWalker.cs (2)
12168
node.
FunctionPointer
.Signature,
12174
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,