--- /dev/null
+#include monotouch_opt_Mono.Security.dll.sources
--- /dev/null
+#include monotouch_opt_Mono.Security.dll.sources
--- /dev/null
+./Mono.Security.Cryptography/ARC4Managed.cs
+./Mono.Security.Cryptography/MD2Managed.cs
+./Mono.Security.Cryptography/MD4Managed.cs
+./Mono.Security.Cryptography/SHA224Managed.cs
--- /dev/null
+#if MONOTOUCH || XAMMAC
+
+// this file is a shim to enable compiling monotouch profiles without mono-extensions
+namespace Mono.Net.Security
+{
+ static partial class MonoTlsProviderFactory
+ {
+ static IMonoTlsProvider CreateDefaultProvider ()
+ {
+ throw new System.NotSupportedException ();
+ }
+ }
+}
+
+#endif
--- /dev/null
+Mono.Net.Security/MonoTlsProviderFactory.MonoTouch.opt.cs
--- /dev/null
+#include monotouch_opt_System.dll.sources
--- /dev/null
+#include monotouch_opt_System.dll.sources
--- /dev/null
+#include monotouch_opt_System.dll.sources
--- /dev/null
+#include monotouch_opt_System.dll.sources
--- /dev/null
+#include monotouch_opt_System.dll.sources
--- /dev/null
+#include xammac_opt_System.dll.sources
--- /dev/null
+Mono.Net.Security/MonoTlsProviderFactory.MonoTouch.opt.cs
--- /dev/null
+#if MONOTOUCH || XAMMAC
+
+// this file is a shim to enable compiling monotouch profiles without mono-extensions
+namespace System.Security.Cryptography.X509Certificates
+{
+ static partial class X509Helper
+ {
+ public static X509CertificateImpl InitFromHandle (IntPtr handle)
+ {
+ throw new NotSupportedException ();
+ }
+
+ public static X509CertificateImpl Import (byte[] rawData, string password, X509KeyStorageFlags keyStorageFlags)
+ {
+ throw new NotSupportedException ();
+ }
+ }
+}
+
+#endif
--- /dev/null
+#if MONOTOUCH
+
+// this file is a shim to enable compiling monotouch profiles without mono-extensions
+namespace System.Text
+{
+ internal static partial class EncodingHelper
+ {
+ internal static Encoding GetDefaultEncoding ()
+ {
+ throw new NotSupportedException ();
+ }
+ }
+}
+
+#endif
--- /dev/null
+#if MONOTOUCH
+
+// this file is a shim to enable compiling monotouch profiles without mono-extensions
+namespace System
+{
+ public static partial class Environment
+ {
+ public static string GetFolderPath(SpecialFolder folder, SpecialFolderOption option)
+ {
+ throw new NotSupportedException ();
+ }
+
+ internal static string UnixGetFolderPath (SpecialFolder folder, SpecialFolderOption option)
+ {
+ throw new NotSupportedException ();
+ }
+ }
+}
+
+#endif
+++ /dev/null
-#if MONOTOUCH && FULL_AOT_RUNTIME
-
-using Crimson.CommonCrypto;
-
-namespace System
-{
- partial struct Guid
- {
- public static Guid NewGuid ()
- {
- byte[] b = new byte [16];
- Cryptor.GetRandom (b);
-
- Guid res = new Guid (b);
- // Mask in Variant 1-0 in Bit[7..6]
- res._d = (byte) ((res._d & 0x3fu) | 0x80u);
- // Mask in Version 4 (random based Guid) in Bits[15..13]
- res._c = (short) ((res._c & 0x0fffu) | 0x4000u);
-
- return res;
- }
- }
-}
-
-#endif
\ No newline at end of file
--- /dev/null
+#if MONOTOUCH && FULL_AOT_RUNTIME
+
+// this file is a shim to enable compiling monotouch profiles without mono-extensions
+namespace System
+{
+ partial struct Guid
+ {
+ public static Guid NewGuid ()
+ {
+ throw new NotSupportedException ();
+ }
+ }
+}
+
+#endif
System/GCCollectionMode.cs
System/GCNotificationStatus.cs
System/Guid.cs
-System/Guid.MonoTouch.cs
System/IConsoleDriver.cs
System/IntPtr.cs
System/KnownTerminals.cs
--- /dev/null
+System/Environment.MonoTouch.opt.cs
+System/Guid.MonoTouch.opt.cs
+System.Text/EncodingHelper.MonoTouch.opt.cs
+System.Security.Cryptography.X509Certificates/X509Helper.MonoTouch.opt.cs
--- /dev/null
+#include monotouch_opt_corlib.dll.sources
--- /dev/null
+#include monotouch_opt_corlib.dll.sources
--- /dev/null
+#include monotouch_opt_corlib.dll.sources
--- /dev/null
+#include monotouch_opt_corlib.dll.sources
--- /dev/null
+#include monotouch_opt_corlib.dll.sources
--- /dev/null
+System.Security.Cryptography.X509Certificates/X509Helper.MonoTouch.opt.cs