[Mono-bugs] [Bug 425345] [PATCH] Delegate serialization problem

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Sep 11 10:08:52 EDT 2008


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

User robertj at gmx.net added comment
https://bugzilla.novell.com/show_bug.cgi?id=425345#c7





--- Comment #7 from Robert Jordan <robertj at gmx.net>  2008-09-11 08:08:52 MDT ---
It is able to serialize them. Of course, only if certain conditions are met:
the delegate's target is serializable or null (static method, like in the
sample above).

The anonymous delegate in the sample is working only because it does not have
to capture any variables -> no anonymous class needs to be generated -> a
static method is sufficient.


-- 
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