public IType GetFunctionPointerType(SRM.MethodSignature <IType> signature) { if (signature.Header.IsInstance) { // pointers to member functions are not supported even in C# 9 return(compilation.FindType(KnownTypeCode.IntPtr)); } return(FunctionPointerType.FromSignature(signature, module)); }
public IType GetFunctionPointerType(SRM.MethodSignature <IType> signature) { return(compilation.FindType(KnownTypeCode.IntPtr)); }