[Mono-dev] Patch to HashSet (System.Core) to enable serialization
Robert Jordan
robertj at gmx.net
Fri Jan 21 07:58:11 EST 2011
Hi Nicklas,
On 21.01.2011 10:35, Nicklas Overgaard wrote:
> Hi,
>
> Attached is a patch that makes the HashSet class serializable. Included
> are unittests to check the functionality.
Thanks for the patch. There are some issues with it, though:
1) it's not allowed to expose public members as you do
with UnittestEqualityCheck.
2) OnDeserialization is supposed to be called by the serialization
infrastructure implicitly. There is no need to invoke it manually
from the ctor.
Have you checked if the serialization format matches MS.NET?
Robert
More information about the Mono-devel-list
mailing list