8 instantiations of FunctionPointerTypeSymbol
Microsoft.CodeAnalysis.CSharp (8)
Symbols\FunctionPointers\FunctionPointerTypeSymbol.cs (8)
20=> new FunctionPointerTypeSymbol( 41=> new FunctionPointerTypeSymbol(FunctionPointerMethodSymbol.CreateFromPartsForTest(callingConvention, returnType, refCustomModifiers, returnRefKind, parameterTypes, parameterRefCustomModifiers, parameterRefKinds, compilation)); 54=> new FunctionPointerTypeSymbol(FunctionPointerMethodSymbol.CreateFromParts(callingConvention, callingConventionModifiers, returnType, returnRefKind, parameterTypes, parameterRefKinds, compilation)); 57=> new FunctionPointerTypeSymbol( 65=> new FunctionPointerTypeSymbol(Signature.SubstituteParameterSymbols(substitutedReturnType, substitutedParameterTypes, refCustomModifiers, paramRefCustomModifiers)); 141result = madeChanges ? new FunctionPointerTypeSymbol(newSignature) : this; 168return new FunctionPointerTypeSymbol(mergedSignature); 179return new FunctionPointerTypeSymbol(substitutedSignature);
246 references to FunctionPointerTypeSymbol
Microsoft.CodeAnalysis.CSharp (103)
Binder\Binder_Conversions.cs (2)
2285else if (targetType is FunctionPointerTypeSymbol functionPointerType) 2835FunctionPointerTypeSymbol { Signature: { } signature } => signature,
Binder\Binder_Crefs.cs (1)
744MethodSymbol signature = ((FunctionPointerTypeSymbol)type).Signature;
Binder\Binder_Invocation.cs (3)
2449RoslynDebug.Assert(boundExpression.Type is FunctionPointerTypeSymbol); 2451var funcPtr = (FunctionPointerTypeSymbol)boundExpression.Type;
Binder\Binder_Symbols.cs (1)
468FunctionPointerTypeSymbol.CreateFromSource(
Binder\Semantics\AccessCheck.cs (2)
167var funcPtr = (FunctionPointerTypeSymbol)symbol;
Binder\Semantics\Conversions\Conversions.cs (2)
115public override Conversion GetMethodGroupFunctionPointerConversion(BoundMethodGroup source, FunctionPointerTypeSymbol destination, ref CompoundUseSiteInfo<AssemblySymbol> useSiteInfo) 280if (type is FunctionPointerTypeSymbol { Signature: { } signature })
Binder\Semantics\Conversions\ConversionsBase.cs (4)
69public abstract Conversion GetMethodGroupFunctionPointerConversion(BoundMethodGroup source, FunctionPointerTypeSymbol destination, ref CompoundUseSiteInfo<AssemblySymbol> useSiteInfo); 1121case BoundKind.UnconvertedAddressOfOperator when destination is FunctionPointerTypeSymbol funcPtrType: 3376if (!(source is FunctionPointerTypeSymbol { Signature: { } sourceSig }) 3377|| !(destination is FunctionPointerTypeSymbol { Signature: { } destinationSig }))
Binder\Semantics\Conversions\TypeConversions.cs (1)
42public override Conversion GetMethodGroupFunctionPointerConversion(BoundMethodGroup source, FunctionPointerTypeSymbol destination, ref CompoundUseSiteInfo<AssemblySymbol> useSiteInfo)
Binder\Semantics\Operators\BinaryOperatorOverloadResolution.cs (2)
712if ((object)leftType != null || (object)rightType != null || left.Type is FunctionPointerTypeSymbol || right.Type is FunctionPointerTypeSymbol)
Binder\Semantics\OverloadResolution\MethodTypeInference.cs (9)
561Debug.Assert(delegateOrFunctionPointerType.IsDelegateType() || delegateOrFunctionPointerType is FunctionPointerTypeSymbol); 1086FunctionPointerTypeSymbol f => f.Signature, 1467FunctionPointerTypeSymbol f => (f.Signature, true), 1893else if (source.Type is FunctionPointerTypeSymbol { Signature: { ParameterCount: int sourceParameterCount } sourceSignature } && 1894target.Type is FunctionPointerTypeSymbol { Signature: { ParameterCount: int targetParameterCount } targetSignature } && 2427if (source is not FunctionPointerTypeSymbol { Signature: { } sourceSignature } || target is not FunctionPointerTypeSymbol { Signature: { } targetSignature }) 2777if (source is not FunctionPointerTypeSymbol { Signature: { } sourceSignature } || target is not FunctionPointerTypeSymbol { Signature: { } targetSignature })
Binder\Semantics\OverloadResolution\OverloadResolution.cs (1)
715Debug.Assert(unmanagedCallingConventionTypes.All(u => FunctionPointerTypeSymbol.IsCallingConventionModifier((NamedTypeSymbol)u)));
Binder\Semantics\OverloadResolution\OverloadResolutionResult.cs (2)
549ReportWrongCallingConvention(location, diagnostics, symbols, firstSupported, ((FunctionPointerTypeSymbol)delegateOrFunctionPointerType).Signature); 672else if (delegateOrFunctionPointerType is FunctionPointerTypeSymbol)
BoundTree\BoundFunctionPointerInvocation.cs (3)
12public FunctionPointerTypeSymbol FunctionPointer 16Debug.Assert(InvokedExpression.Type is FunctionPointerTypeSymbol); 17return (FunctionPointerTypeSymbol)InvokedExpression.Type;
CodeGen\CodeGenerator.cs (1)
361private void EmitSignatureToken(FunctionPointerTypeSymbol symbol, SyntaxNode syntaxNode)
Compilation\CSharpCompilation.cs (2)
4148return FunctionPointerTypeSymbol.CreateFromParts( 4165if (!FunctionPointerTypeSymbol.IsCallingConventionModifier(internalType) || @this.Assembly.CorLibrary != internalType.ContainingAssembly)
Emitter\EditAndContinue\CSharpSymbolMatcher.cs (6)
393public override Symbol? VisitFunctionPointerType(FunctionPointerTypeSymbol symbol) 677private bool AreFunctionPointerTypesEqual(FunctionPointerTypeSymbol type, FunctionPointerTypeSymbol other) 770return AreFunctionPointerTypesEqual((FunctionPointerTypeSymbol)type, (FunctionPointerTypeSymbol)other); 916public override Symbol VisitFunctionPointerType(FunctionPointerTypeSymbol symbol)
Emitter\Model\FunctionPointerTypeSymbolAdapter.cs (2)
125internal FunctionPointerTypeSymbolAdapter(FunctionPointerTypeSymbol underlyingFunctionPointerTypeSymbol) 131internal FunctionPointerTypeSymbol AdaptedFunctionPointerTypeSymbol { get; }
Emitter\Model\PEModuleBuilder.cs (2)
1161return Translate((FunctionPointerTypeSymbol)typeSymbol); 1455internal Cci.IFunctionPointerTypeReference Translate(FunctionPointerTypeSymbol symbol)
FlowAnalysis\NullableWalker.cs (2)
9359FunctionPointerTypeSymbol { Signature: { Parameters: { } parameters } signature } => (signature, parameters), 12898Debug.Assert(ResultType is TypeWithState { Type: FunctionPointerTypeSymbol { }, State: NullableFlowState.NotNull });
Operations\CSharpOperationFactory.cs (1)
1034if (boundConversion.Type is FunctionPointerTypeSymbol)
Symbols\AbstractTypeMap.cs (3)
113result = SubstituteFunctionPointerType((FunctionPointerTypeSymbol)previous); 239private FunctionPointerTypeSymbol SubstituteFunctionPointerType(FunctionPointerTypeSymbol f)
Symbols\Compilation_WellKnownMembers.cs (2)
968handleFunctionPointerType((FunctionPointerTypeSymbol)type, transformFlagsBuilder, addCustomModifierFlags); 996static void handleFunctionPointerType(FunctionPointerTypeSymbol funcPtr, ArrayBuilder<bool> transformFlagsBuilder, bool addCustomModifierFlags)
Symbols\FunctionPointers\FunctionPointerMethodSymbol.cs (4)
657if (FunctionPointerTypeSymbol.IsCallingConventionModifier(modifier.ModifierSymbol)) 681if (FunctionPointerTypeSymbol.IsCallingConventionModifier(((CSharpCustomModifier)modifier).ModifierSymbol)) 724|| !FunctionPointerTypeSymbol.RefKindEquals(compareKind, RefKind, other.RefKind) 761=> Hash.Combine(ReturnType, Hash.Combine(((int)CallingConvention).GetHashCode(), ((int)FunctionPointerTypeSymbol.GetRefKindForHashCode(RefKind)).GetHashCode()));
Symbols\FunctionPointers\FunctionPointerParameterSymbol.cs (2)
58=> FunctionPointerTypeSymbol.RefKindEquals(compareKind, RefKind, other.RefKind) 69=> Hash.Combine(TypeWithAnnotations.GetHashCode(), ((int)FunctionPointerTypeSymbol.GetRefKindForHashCode(RefKind)).GetHashCode());
Symbols\FunctionPointers\FunctionPointerTypeSymbol.cs (7)
19public static FunctionPointerTypeSymbol CreateFromSource(FunctionPointerTypeSyntax syntax, Binder typeBinder, BindingDiagnosticBag diagnostics, ConsList<TypeSymbol> basesBeingResolved, bool suppressUseSiteDiagnostics) 32public static FunctionPointerTypeSymbol CreateFromPartsForTests( 46public static FunctionPointerTypeSymbol CreateFromParts( 56public static FunctionPointerTypeSymbol CreateFromMetadata(ModuleSymbol containingModule, Cci.CallingConvention callingConvention, ImmutableArray<ParamInfo<TypeSymbol>> retAndParamTypes) 60public FunctionPointerTypeSymbol SubstituteTypeSymbol( 108if (!(t2 is FunctionPointerTypeSymbol other)) 165var mergedSignature = Signature.MergeEquivalentTypes(((FunctionPointerTypeSymbol)other).Signature, variance);
Symbols\Metadata\PE\DynamicTypeDecoder.cs (3)
170return TransformFunctionPointerType((FunctionPointerTypeSymbol)type); 347private FunctionPointerTypeSymbol? TransformFunctionPointerType(FunctionPointerTypeSymbol type)
Symbols\Metadata\PE\NativeIntegerTypeDecoder.cs (3)
91return TransformFunctionPointerType((FunctionPointerTypeSymbol)type); 173private FunctionPointerTypeSymbol? TransformFunctionPointerType(FunctionPointerTypeSymbol type)
Symbols\Metadata\PE\SymbolFactory.cs (1)
51return FunctionPointerTypeSymbol.CreateFromMetadata(moduleSymbol, callingConvention, retAndParamTypes);
Symbols\Metadata\PE\TupleTypeDecoder.cs (3)
168return DecodeFunctionPointerType((FunctionPointerTypeSymbol)type); 209private FunctionPointerTypeSymbol DecodeFunctionPointerType(FunctionPointerTypeSymbol type)
Symbols\MethodSymbol.cs (1)
1018|| !FunctionPointerTypeSymbol.IsCallingConventionModifier(callConvType))
Symbols\PublicModel\FunctionPointerTypeSymbol.cs (2)
12private readonly Symbols.FunctionPointerTypeSymbol _underlying; 14public FunctionPointerTypeSymbol(Symbols.FunctionPointerTypeSymbol underlying, CodeAnalysis.NullableAnnotation nullableAnnotation)
Symbols\Retargeting\RetargetingSymbolTranslator.cs (3)
759public FunctionPointerTypeSymbol Retarget(FunctionPointerTypeSymbol type) 1344public override Symbol VisitFunctionPointerType(FunctionPointerTypeSymbol symbol, RetargetOptions argument)
Symbols\Source\SourceNamedTypeSymbol_Extension.cs (2)
125else if (type is FunctionPointerTypeSymbol functionPointer) 308static void appendFunctionPointerType(FunctionPointerTypeSymbol functionPointer, StringBuilder builder)
Symbols\SymbolExtensions.cs (3)
664internal static IFunctionPointerTypeSymbol? GetPublicSymbol(this FunctionPointerTypeSymbol? symbol) 807internal static FunctionPointerTypeSymbol? GetSymbol(this IFunctionPointerTypeSymbol? symbol) 809return symbol.GetSymbol<FunctionPointerTypeSymbol>();
Symbols\SymbolVisitor.cs (1)
100public virtual void VisitFunctionPointerType(FunctionPointerTypeSymbol symbol)
Symbols\SymbolVisitor`1.cs (1)
100public virtual TResult VisitFunctionPointerType(FunctionPointerTypeSymbol symbol)
Symbols\SymbolVisitor`2.cs (2)
124/// Called when visiting a <see cref="FunctionPointerTypeSymbol"/>; Override this with specific 130public virtual TResult VisitFunctionPointerType(FunctionPointerTypeSymbol symbol, TArgument argument)
Symbols\TypeSymbolExtensions.cs (8)
451return (TypeSymbol?)GetDelegateType(type) ?? type as FunctionPointerTypeSymbol; 586Debug.Assert(type is FunctionPointerTypeSymbol || type.IsDelegateType()); 587if (type is FunctionPointerTypeSymbol { Signature: { Parameters: var functionPointerParameters } }) 933var result = visitFunctionPointerType((FunctionPointerTypeSymbol)current, typeWithAnnotationsPredicate, typePredicate, arg, useDefaultType, canDigThroughNullable, visitCustomModifiers, out next); 954static TypeSymbol? visitFunctionPointerType(FunctionPointerTypeSymbol type, Func<TypeWithAnnotations, T, bool, bool>? typeWithAnnotationsPredicate, Func<TypeSymbol, T, bool, bool>? typePredicate, T arg, bool useDefaultType, bool canDigThroughNullable, bool visitCustomModifiers, out TypeWithAnnotations next) 1944var functionPointerType = (FunctionPointerTypeSymbol)type; 2043private static bool NormalizeTaskTypesInFunctionPointer(CSharpCompilation compilation, ref FunctionPointerTypeSymbol funcPtrType)
Utilities\TypeSymbolExtensions.cs (3)
43return ((FunctionPointerTypeSymbol)type).Signature.CustomModifierCount(); 112var funcPtr = (FunctionPointerTypeSymbol)type;
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (37)
CodeGen\CodeGenFunctionPointersTests.cs (37)
124Assert.Equal(CallingConvention.Unmanaged, ((FunctionPointerTypeSymbol)funcPtr).Signature.CallingConvention); 303var signature = ((FunctionPointerTypeSymbol)field.Type).Signature; 379var signature = ((FunctionPointerTypeSymbol)field.Type).Signature; 688var param = (FunctionPointerTypeSymbol)m.Parameters[0].Type; 868var returnTypeWithAnnotations = ((FunctionPointerTypeSymbol)m.ReturnType).Signature.ReturnTypeWithAnnotations; 994var type = (FunctionPointerTypeSymbol)field.Type; 2550var returnType = (FunctionPointerTypeSymbol)m.ReturnType; 5428var type = (FunctionPointerTypeSymbol)c.GetField(fieldName).Type; 5477CommonVerifyFunctionPointer((FunctionPointerTypeSymbol)field.Type); 5563if (f.Type is FunctionPointerTypeSymbol ptrType) 5611CommonVerifyFunctionPointer((FunctionPointerTypeSymbol)param.Type); 5722CommonVerifyFunctionPointer((FunctionPointerTypeSymbol)param.Type); 7060var funcPtr = (FunctionPointerTypeSymbol)m1.Parameters.Single().Type; 7064funcPtr = (FunctionPointerTypeSymbol)m2.ReturnType; 7068funcPtr = (FunctionPointerTypeSymbol)m3.Parameters.Single().Type; 7072funcPtr = (FunctionPointerTypeSymbol)m4.ReturnType; 7672var funcPtr = FunctionPointerTypeSymbol.CreateFromPartsForTests( 7676var funcPtrRef = FunctionPointerTypeSymbol.CreateFromPartsForTests( 7681var funcPtrWithTestOnReturn = FunctionPointerTypeSymbol.CreateFromPartsForTests( 7685var funcPtrWithTestOnRef = FunctionPointerTypeSymbol.CreateFromPartsForTests( 7757var funcPtr = FunctionPointerTypeSymbol.CreateFromPartsForTests( 7761var funcPtrRef = FunctionPointerTypeSymbol.CreateFromPartsForTests( 7766var funcPtrWithTestOnReturn = FunctionPointerTypeSymbol.CreateFromPartsForTests( 7770var funcPtrWithTestOnRef = FunctionPointerTypeSymbol.CreateFromPartsForTests(
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (20)
Attributes\AttributeTests_NativeInteger.cs (1)
1593FunctionPointerUtilities.CommonVerifyFunctionPointer((FunctionPointerTypeSymbol)field.Type);
RefReadonlyParameterTests.cs (19)
920var ptr = (FunctionPointerTypeSymbol)p.Type; 972var ptr = (FunctionPointerTypeSymbol)comp.GlobalNamespace.GetMember<FieldSymbol>("C.D").Type; 1069var ptr = (FunctionPointerTypeSymbol)comp.GlobalNamespace.GetMember<FieldSymbol>("C.D").Type; 1121var ptr = (FunctionPointerTypeSymbol)comp.GlobalNamespace.GetMember<FieldSymbol>("C.D").Type; 1174var ptr = (FunctionPointerTypeSymbol)comp.GlobalNamespace.GetMember<FieldSymbol>("C.D").Type; 1223var ptr = (FunctionPointerTypeSymbol)comp.GlobalNamespace.GetMember<FieldSymbol>("C.D").Type; 1251var ptr = (FunctionPointerTypeSymbol)p.Type; 1443var p = ((FunctionPointerTypeSymbol)f.Type).Signature.Parameters.Single(); 1500var ptr = (FunctionPointerTypeSymbol)p.Type; 1523var symbol = model.GetDeclaredSymbol(local).GetSymbol<LocalSymbol>()!.Type as FunctionPointerTypeSymbol;
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (7)
Semantics\FunctionPointerTests.cs (4)
2126var funcPtrType = (FunctionPointerTypeSymbol)m.ReturnType; 3940var type = (FunctionPointerTypeSymbol)m.Parameters[1].Type;
Semantics\OverloadResolutionTests.cs (1)
886FunctionPointerUtilities.CommonVerifyFunctionPointer((FunctionPointerTypeSymbol)type);
Semantics\RefFieldTests.cs (2)
11284var methods = decls.Select(d => ((FunctionPointerTypeSymbol)model.GetDeclaredSymbol(d).GetSymbol<LocalSymbol>().Type).Signature).ToArray(); 25409((FunctionPointerTypeSymbol)comp.GetMember<FieldSymbol>(qualifiedName).Type).Signature;
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (74)
Symbols\FunctionPointerTypeSymbolTests.cs (70)
43var pointerType = (FunctionPointerTypeSymbol)m.Parameters.Single().Type; 173=> Assert.Equal(expected, ((FunctionPointerTypeSymbol)actual.Type).Signature.RefKind); 196var firstSignature = ((FunctionPointerTypeSymbol)m.Parameters[0].Type).Signature; 197var secondSignature = ((FunctionPointerTypeSymbol)m.Parameters[1].Type).Signature; 264var pointerType = (FunctionPointerTypeSymbol)m.Parameters.Single().Type; 326var m1PointerType = (FunctionPointerTypeSymbol)m1.Parameters.Single().Type; 330var m2PointerType = (FunctionPointerTypeSymbol)m2.Parameters.Single().Type; 334var m3PointerType = (FunctionPointerTypeSymbol)m3.Parameters.Single().Type; 399var sixthParamParam = ((FunctionPointerTypeSymbol)sixthParam.Parameters.Single().Type).Signature; 445var type = ((FunctionPointerTypeSymbol)parameterTypes[index].Type); 515var type = ((FunctionPointerTypeSymbol)parameterTypes[index].Type); 657var type = ((FunctionPointerTypeSymbol)parameterTypes[index].Type); 679var signature = ((FunctionPointerTypeSymbol)m.Parameters.Single().Type).Signature; 709AssertEqualityAndHashCode((FunctionPointerTypeSymbol)m.Parameters[0].Type, (FunctionPointerTypeSymbol)m.Parameters[1].Type, returnEquality: Equality.Equal, callingConventionEquality: Equality.Equal); 726AssertEqualityAndHashCode((FunctionPointerTypeSymbol)m.Parameters[0].Type, (FunctionPointerTypeSymbol)m.Parameters[1].Type, 745AssertEqualityAndHashCode((FunctionPointerTypeSymbol)m.Parameters[0].Type, (FunctionPointerTypeSymbol)m.Parameters[1].Type, 763AssertEqualityAndHashCode((FunctionPointerTypeSymbol)m.Parameters[0].Type, (FunctionPointerTypeSymbol)m.Parameters[1].Type, 782AssertEqualityAndHashCode((FunctionPointerTypeSymbol)m.Parameters[0].Type, (FunctionPointerTypeSymbol)m.Parameters[1].Type, 800AssertEqualityAndHashCode((FunctionPointerTypeSymbol)m.Parameters[0].Type, (FunctionPointerTypeSymbol)m.Parameters[1].Type, 818AssertEqualityAndHashCode((FunctionPointerTypeSymbol)m.Parameters[0].Type, (FunctionPointerTypeSymbol)m.Parameters[1].Type, 836AssertEqualityAndHashCode((FunctionPointerTypeSymbol)m.Parameters[0].Type, (FunctionPointerTypeSymbol)m.Parameters[1].Type, 854AssertEqualityAndHashCode((FunctionPointerTypeSymbol)m.Parameters[0].Type, (FunctionPointerTypeSymbol)m.Parameters[1].Type, 872AssertEqualityAndHashCode((FunctionPointerTypeSymbol)m.Parameters[0].Type, (FunctionPointerTypeSymbol)m.Parameters[1].Type, 890AssertEqualityAndHashCode((FunctionPointerTypeSymbol)m.Parameters[0].Type, (FunctionPointerTypeSymbol)m.Parameters[1].Type, 902private void AssertEqualityAndHashCode(FunctionPointerTypeSymbol p1, FunctionPointerTypeSymbol p2, Equality returnEquality, Equality callingConventionEquality, params Equality[] parameterEqualities) 1965Assert.True(FunctionPointerTypeSymbol.IsCallingConventionModifier(testConvention)); 2025static void verifyEquality((FunctionPointerTypeSymbol NoRef, FunctionPointerTypeSymbol ByRef) ptr1, (FunctionPointerTypeSymbol NoRef, FunctionPointerTypeSymbol ByRef) ptr2, bool expectedConventionEquality, bool expectedFullEquality, bool skipGetCallingConventionModifiersCheck = false) 2044(FunctionPointerTypeSymbol NoRef, FunctionPointerTypeSymbol ByRef) createTypeSymbol(ImmutableArray<CustomModifier> customModifiers, CallingConvention callingConvention = CallingConvention.Unmanaged) 2045=> (FunctionPointerTypeSymbol.CreateFromPartsForTests( 2054FunctionPointerTypeSymbol.CreateFromPartsForTests( 2095static void verifyEquality((FunctionPointerTypeSymbol NoRef, FunctionPointerTypeSymbol ByRef) ptr1, (FunctionPointerTypeSymbol NoRef, FunctionPointerTypeSymbol ByRef) ptr2, bool expectedConventionEquality, bool expectedFullEquality) 2111(FunctionPointerTypeSymbol NoRef, FunctionPointerTypeSymbol ByRef) createTypeSymbol(ImmutableArray<CustomModifier> customModifiers, CallingConvention callingConvention = CallingConvention.Unmanaged) 2112=> (FunctionPointerTypeSymbol.CreateFromPartsForTests( 2121FunctionPointerTypeSymbol.CreateFromPartsForTests( 2151static void verifyEquality((FunctionPointerTypeSymbol NoRef, FunctionPointerTypeSymbol ByRef) ptr1, (FunctionPointerTypeSymbol NoRef, FunctionPointerTypeSymbol ByRef) ptr2, bool expectedTypeConventionEquality, bool expectedRefConventionEquality) 2170(FunctionPointerTypeSymbol NoRef, FunctionPointerTypeSymbol ByRef) createTypeSymbol(ImmutableArray<CustomModifier> typeCustomModifiers, ImmutableArray<CustomModifier> refCustomModifiers, CallingConvention callingConvention = CallingConvention.Unmanaged) 2171=> (FunctionPointerTypeSymbol.CreateFromPartsForTests( 2180FunctionPointerTypeSymbol.CreateFromPartsForTests(
Symbols\Retargeting\RetargetingTests.cs (4)
849var ptrOriginal = (FunctionPointerTypeSymbol)mOriginal.ReturnType; 850var ptrRetargeted = (FunctionPointerTypeSymbol)mRetargeted.ReturnType;
Microsoft.CodeAnalysis.CSharp.Test.Utilities (5)
FunctionPointerUtilities.cs (5)
17internal static void CommonVerifyFunctionPointer(FunctionPointerTypeSymbol symbol) 26static void verifyPointerType(FunctionPointerTypeSymbol symbol) 273FunctionPointerTypeSymbol funcPtr = (FunctionPointerTypeSymbol)type; 351=> typeSymbol => VerifyFunctionPointerSymbol((FunctionPointerTypeSymbol)typeSymbol, callingConvention, returnVerifier, argumentVerifiers);