Match IDisposable with 4.0 changes in System.Security.Cryptography
[mono.git] / mcs / class / corlib / System.Security.Cryptography / HashAlgorithm.cs
index b8aac3a7678923528107223e15a9f3f30222d77c..8d76956973635893607057d86d32164345d2a5d8 100644 (file)
@@ -153,7 +153,11 @@ namespace System.Security.Cryptography {
                        get { return 1; }
                }
 
+#if NET_4_0
+               public void Dispose ()
+#else
                void IDisposable.Dispose () 
+#endif
                {
                        Dispose (true);
                        GC.SuppressFinalize (this);  // Finalization is now unnecessary