Merge pull request #498 from Unroll-Me/master
[mono.git] / mcs / class / corlib / System.Security.Cryptography / RSA.cs
index 35a4b4bffe7abfd6994ee98cd921176ab7bb6d23..1a575931845239bfd6082d76cbeb07ac6556b2bf 100644 (file)
@@ -42,7 +42,11 @@ namespace System.Security.Cryptography {
 
                public static new RSA Create () 
                {
+#if FULL_AOT_RUNTIME
+                       return new System.Security.Cryptography.RSACryptoServiceProvider ();
+#else
                        return Create ("System.Security.Cryptography.RSA");
+#endif
                }
 
                public static new RSA Create (string algName)