Author: andrews
Date: 2006-05-11 09:22:12 -0400 (Thu, 11 May 2006)
New Revision: 60591

Modified:
   trunk/mcs/class/System.Web/Test/mainsoft/NunitWeb/NunitWeb/Helper.cs
Log:
This check is unnecessary

Modified: trunk/mcs/class/System.Web/Test/mainsoft/NunitWeb/NunitWeb/Helper.cs
===================================================================
--- trunk/mcs/class/System.Web/Test/mainsoft/NunitWeb/NunitWeb/Helper.cs        
2006-05-11 11:44:48 UTC (rev 60590)
+++ trunk/mcs/class/System.Web/Test/mainsoft/NunitWeb/NunitWeb/Helper.cs        
2006-05-11 13:22:12 UTC (rev 60591)
@@ -141,9 +141,6 @@
 
                public string RunUrl (string url, Delegate method, object 
anyParam)
                {
-                       if (method != null && method.Target != null && 
!(method.Target is MarshalByRefObject))
-                               throw new ArgumentException ("delegate Target 
must be MarshalByRefObject to pass AppDomain boundaries");
-
                        try {
                                return host.DoRun (url, method, anyParam);
                        }

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to