Author: gonzalo
Date: 2006-04-18 13:20:25 -0400 (Tue, 18 Apr 2006)
New Revision: 59605

Modified:
   trunk/mcs/class/System.Web/System.Web/ChangeLog
   trunk/mcs/class/System.Web/System.Web/HttpApplicationFactory.cs
Log:
2006-04-18 Gonzalo Paniagua Javier <[EMAIL PROTECTED]>

        * HttpApplicationFactory.cs: don't fail on events that are not
        EventHandlers. Patch by Matthew Metnetsky.



Modified: trunk/mcs/class/System.Web/System.Web/ChangeLog
===================================================================
--- trunk/mcs/class/System.Web/System.Web/ChangeLog     2006-04-18 17:20:08 UTC 
(rev 59604)
+++ trunk/mcs/class/System.Web/System.Web/ChangeLog     2006-04-18 17:20:25 UTC 
(rev 59605)
@@ -1,3 +1,8 @@
+2006-04-18 Gonzalo Paniagua Javier <[EMAIL PROTECTED]>
+
+       * HttpApplicationFactory.cs: don't fail on events that are not
+       EventHandlers. Patch by Matthew Metnetsky.
+
 2006-04-11 Andrew Skiba <[EMAIL PROTECTED]>
 
        * HttpRequest.cs: remove code duplication (see UrlUtils.Combine)

Modified: trunk/mcs/class/System.Web/System.Web/HttpApplicationFactory.cs
===================================================================
--- trunk/mcs/class/System.Web/System.Web/HttpApplicationFactory.cs     
2006-04-18 17:20:08 UTC (rev 59604)
+++ trunk/mcs/class/System.Web/System.Web/HttpApplicationFactory.cs     
2006-04-18 17:20:25 UTC (rev 59605)
@@ -280,7 +280,7 @@
                                evt.AddEventHandler (target, npi.FakeDelegate);
                        } else {
                                evt.AddEventHandler (target, 
Delegate.CreateDelegate (
-                                                       typeof (EventHandler), 
app, method.Name));
+                                                       evt.EventHandlerType, 
app, method.Name));
                        }
                }
 

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

Reply via email to