Symbols\TypeSymbolExtensions.cs (8)
456return (TypeSymbol?)GetDelegateType(type) ?? type as FunctionPointerTypeSymbol;
591Debug.Assert(type is FunctionPointerTypeSymbol || type.IsDelegateType());
592if (type is FunctionPointerTypeSymbol { Signature: { Parameters: var functionPointerParameters } })
943var result = visitFunctionPointerType((FunctionPointerTypeSymbol)current, typeWithAnnotationsPredicate, typePredicate, arg, useDefaultType, canDigThroughNullable, visitCustomModifiers, out next);
964static 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)
1954var functionPointerType = (FunctionPointerTypeSymbol)type;
2053private static bool NormalizeTaskTypesInFunctionPointer(CSharpCompilation compilation, ref FunctionPointerTypeSymbol funcPtrType)