Merge pull request #409 from Alkarex/patch-1
[mono.git] / mcs / class / corlib / System.Security.Cryptography / MD5.cs
index 56f4220343109693b73af698f6eaa32680b571cc..4d41fc7a2114ec5cda3d0cd38d58537f2579551a 100644 (file)
@@ -33,9 +33,7 @@ using System.Runtime.InteropServices;
 \r
 namespace System.Security.Cryptography {\r
 
-#if NET_2_0
        [ComVisible (true)]
-#endif
        public abstract class MD5 : HashAlgorithm {\r
 
                // Why is it protected when others abstract hash classes are public ?\r
@@ -46,7 +44,11 @@ namespace System.Security.Cryptography {
        \r
                public static new MD5 Create () \r
                {\r
+#if FULL_AOT_RUNTIME
+                       return new System.Security.Cryptography.MD5CryptoServiceProvider ();
+#else
                        return Create ("System.Security.Cryptography.MD5");\r
+#endif
                }\r
 \r
                public static new MD5 Create (string algName) \r