+#else
+ [Obsolete ("AppDomain.CreateDomain is not supported on the current platform.", true)]
+ public static AppDomain CreateDomain (string friendlyName)
+ {
+ throw new PlatformNotSupportedException ("AppDomain.CreateDomain is not supported on the current platform.");
+ }
+
+ [Obsolete ("AppDomain.CreateDomain is not supported on the current platform.", true)]
+ public static AppDomain CreateDomain (string friendlyName, Evidence securityInfo)
+ {
+ throw new PlatformNotSupportedException ("AppDomain.CreateDomain is not supported on the current platform.");
+ }
+
+ [Obsolete ("AppDomain.CreateDomain is not supported on the current platform.", true)]
+ public static AppDomain CreateDomain (string friendlyName, Evidence securityInfo, AppDomainSetup info)
+ {
+ throw new PlatformNotSupportedException ("AppDomain.CreateDomain is not supported on the current platform.");
+ }
+#endif // MONO_FEATURE_MULTIPLE_APPDOMAINS