[docs] Import of Microsoft BCL Documentation.
[mono.git] / mcs / class / corlib / System.Security.Cryptography / FromBase64Transform.cs
index 6b6d3756db329256e065a3541640af3cc7b5baf0..bf4150c57d1e404e332ab54d4348388f60c5b90b 100644 (file)
@@ -33,17 +33,13 @@ using System.Runtime.InteropServices;
 namespace System.Security.Cryptography {
 
        [Serializable]
-#if NET_2_0
        [ComVisible (true)]
-#endif
        public enum FromBase64TransformMode : int {
                IgnoreWhiteSpaces,
                DoNotIgnoreWhiteSpaces
        }
 
-#if NET_2_0
        [ComVisible (true)]
-#endif
        public class FromBase64Transform : ICryptoTransform {
 
                private FromBase64TransformMode mode;
@@ -92,7 +88,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