From a28abc5c071ab4837a344d6e13511a109d2ff77d Mon Sep 17 00:00:00 2001 From: Kleis Auke Wolthuizen Date: Thu, 9 May 2024 14:12:30 +0200 Subject: [PATCH] Revert "Ensure correct calling convention for unmanaged-to-managed callbacks" This reverts commit a9bd5cec5b2b163025c127a67234541759e774eb. --- src/NetVips/Image.cs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/NetVips/Image.cs b/src/NetVips/Image.cs index 24266805..ac69cfdb 100644 --- a/src/NetVips/Image.cs +++ b/src/NetVips/Image.cs @@ -4,7 +4,6 @@ namespace NetVips using System.Collections.Generic; using System.IO; using System.Runtime.InteropServices; - using System.Security; using System.Text; using System.Threading; using Internal; @@ -29,7 +28,6 @@ public partial class Image : VipsObject /// /// Internal marshaller delegate for . /// - [SuppressUnmanagedCodeSecurity, UnmanagedFunctionPointer(CallingConvention.Cdecl)] internal delegate void EvalMarshalDelegate(IntPtr imagePtr, VipsProgress progress, IntPtr userDataPtr); ///