[corlib] Remove multiple appdomain support (AppDomain.CreateDomain, etc) from tvOS...
[mono.git] / mcs / class / corlib / System / AppDomainInitializer.cs
index 1afe7bd0acde9dfa95f2b4ab50ba7dc4da641498..c50f40da3736298e6817ce0c06d90190d20b2483 100644 (file)
 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 //
 
-#if NET_2_0
-
 namespace System {
-
+#if MONO_FEATURE_MULTIPLE_APPDOMAINS
+       [System.Runtime.InteropServices.ComVisible (true)]
+       [Serializable]
+#else
+       [Obsolete ("AppDomainInitializer is not supported on the current platform.", true)]
+#endif
        public delegate void AppDomainInitializer (string[] args);
 
 }
-
-#endif