EventHandlerList.cs: Fix profile 1.x build by not using HandlerEntry.
[mono.git] / mcs / class / System / System.ComponentModel / EventHandlerList.cs
index fb9a8fe92e082411d137e99602c979f4731c0ab8..8ffece9cdea06069e0ac62b5eebbf67d0716b14b 100644 (file)
@@ -122,7 +122,7 @@ namespace System.ComponentModel {
 
                        return null;
 #else
-                       return handlers [key] as HandlerEntry;
+                       return handlers [key] as Delegate;
 #endif
                }
        }