Fixes for Grasshopper compilation
authorEyal Alalouf <eyala@mainsoft.com>
Thu, 8 Sep 2005 12:56:45 +0000 (12:56 -0000)
committerEyal Alalouf <eyala@mainsoft.com>
Thu, 8 Sep 2005 12:56:45 +0000 (12:56 -0000)
svn path=/trunk/mcs/; revision=49693

mcs/class/System.Web/System.Web.Caching/ChangeLog
mcs/class/System.Web/System.Web.Caching/OutputCacheModule.cs

index 8fc0388448ba047de2ac9d290f13b9b5fd9aa3fc..25c919f3a5a5bd10f44b7bfa034246a5b01170fa 100644 (file)
@@ -1,3 +1,8 @@
+2005-09-08  Eyal Alaluf  <eyala@mainsoft.com>
+       * OutputCacheModule.cs: Use C# 1.0 style of delegate instantiating.
+         Needed to compile Grasshopper (TARGET_J2EE) which uses MS C# 1.0 compiler
+         and does not use msc.
+
 2005-09-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
 
        * Cache.cs: ignore exceptions thrown by removed item callbacks.
index e5e54cc2f8b09ca9d1dee5f18f1c136822705155..b39d555496353b385b35ef1509d774250c709542 100644 (file)
@@ -49,8 +49,8 @@ namespace System.Web.Caching {
 
                public void Init (HttpApplication app)
                {
-                       app.ResolveRequestCache += OnResolveRequestCache;
-                       app.UpdateRequestCache += OnUpdateRequestCache;
+                       app.ResolveRequestCache += new EventHandler(OnResolveRequestCache);
+                       app.UpdateRequestCache += new EventHandler(OnUpdateRequestCache);
  
                        response_removed = new CacheItemRemovedCallback (OnRawResponseRemoved);
                }