[corlib] Parse datetime string using culture calendar. Fixes #18052
[mono.git] / mcs / class / corlib / System.Security.Cryptography / SHA256.cs
index 256ef971cd79f901224698240c3aa820f001f732..1af226c03e95cbeff03231db9cfeccd7db74249c 100644 (file)
@@ -33,23 +33,21 @@ using System.Runtime.InteropServices;
 \r
 namespace System.Security.Cryptography {\r
 
-#if NET_2_0
        [ComVisible (true)]
-#endif
        public abstract class SHA256 : HashAlgorithm {\r
 
-#if NET_2_0
                protected SHA256 ()
-#else
-               public SHA256 ()
-#endif\r
                {\r
                        HashSizeValue = 256;\r
                }\r
        \r
                public static new SHA256 Create () \r
                {\r
+#if FULL_AOT_RUNTIME
+                       return new System.Security.Cryptography.SHA256Managed ();
+#else
                        return Create ("System.Security.Cryptography.SHA256");\r
+#endif
                }\r
        \r
                public static new SHA256 Create (string hashName) \r