[Mono-bugs] [Bug 385125] Delegates don't compare ==

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu May 1 06:05:32 EDT 2008


https://bugzilla.novell.com/show_bug.cgi?id=385125

User msafar at novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=385125#c4





--- Comment #4 from Marek Safar <msafar at novell.com>  2008-05-01 04:05:31 MST ---
I can reproduce the issue now.

However, the issue is not delegate comparison but caching. csc caches anonymous
methods and we do not (yet), therefore when you access DoSomethingEventHandler
you get cached instance and not new delegate instance.

AFAIK, this behavior is not required by C# standard.


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list