diff --git a/src/NetVips/Image.cs b/src/NetVips/Image.cs
index 2426680..ac69cfd 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);
///