2002-08-21 Miguel de Icaza <miguel@ximian.com>
[mono.git] / mcs / class / corlib / System / AppDomain.cs
index f2ed9ad0cb0083b989977be13b6f546c25229403..1dc498e42b160c30cd820e1dac390edd77828549 100755 (executable)
@@ -504,12 +504,10 @@ namespace System {
                                                      Evidence securityInfo,
                                                      AppDomainSetup info)
                {
+                       //TODO: treat securityInfo (can be null)
                        if (friendlyName == null)
                                throw new System.ArgumentNullException ("friendlyName");
 
-                       if (securityInfo == null)
-                               throw new System.ArgumentNullException ("securityInfo");
-
                        if (info == null)
                                throw new System.ArgumentNullException ("info");
 
@@ -550,6 +548,10 @@ namespace System {
                        throw new NotImplementedException ();
                }
 
+               public override string ToString () {
+                       return getFriendlyName ();
+               }
+
 
                public event AssemblyLoadEventHandler AssemblyLoad;