Make a copy of the old ZipLib
[mono.git] / mcs / class / System.Drawing / System.Drawing.Imaging / EncoderParameters.cs
index 77238ab361f5e3a42ff808b29dd4b6a9b2554a9d..dd5dada5f8c4f0d77317a29f1d208d4d96070919 100644 (file)
@@ -60,8 +60,9 @@ namespace System.Drawing.Imaging
 
                public void Dispose () {
                        // Nothing
+                       GC.SuppressFinalize(this);
                }
-
+#if !TARGET_JVM
                internal IntPtr ToNativePtr () {
                        IntPtr result;
                        IntPtr ptr;
@@ -109,5 +110,6 @@ namespace System.Drawing.Imaging
 
                        return result;
                }
+#endif
        }
 }