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

Modified:
   branches/mono-1-1-13/mcs/class/System.Web/System.Web/ChangeLog
   
branches/mono-1-1-13/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: branches/mono-1-1-13/mcs/class/System.Web/System.Web/ChangeLog
===================================================================
--- branches/mono-1-1-13/mcs/class/System.Web/System.Web/ChangeLog      
2006-04-18 17:11:17 UTC (rev 59603)
+++ branches/mono-1-1-13/mcs/class/System.Web/System.Web/ChangeLog      
2006-04-18 17:20:08 UTC (rev 59604)
@@ -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-10 Gonzalo Paniagua Javier <[EMAIL PROTECTED]>
 
        * HttpUtility.cs: allow "%%" as a escape for '%' and ignore invalid

Modified: 
branches/mono-1-1-13/mcs/class/System.Web/System.Web/HttpApplicationFactory.cs
===================================================================
--- 
branches/mono-1-1-13/mcs/class/System.Web/System.Web/HttpApplicationFactory.cs  
    2006-04-18 17:11:17 UTC (rev 59603)
+++ 
branches/mono-1-1-13/mcs/class/System.Web/System.Web/HttpApplicationFactory.cs  
    2006-04-18 17:20:08 UTC (rev 59604)
@@ -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