Match IDisposable with 4.0 changes in System.Security.Cryptography
[mono.git] / mcs / class / corlib / System.Security.Cryptography / ToBase64Transform.cs
index ce5a95e8763309608ba09cd82bbf87c994e767e4..0f0f05a54d15c8e71edf6515982097ca6b984752 100644 (file)
@@ -69,7 +69,11 @@ namespace System.Security.Cryptography {
                        Dispose (true);
                }
 
+#if NET_4_0
+               public void Dispose ()
+#else
                void IDisposable.Dispose () 
+#endif
                {
                        Dispose (true);
                        GC.SuppressFinalize (this);  // Finalization is now unnecessary