[Mono-bugs] [Bug 567522] BinaryFormatter doesn't deserialize objects with nullable types

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Sep 9 12:46:37 EDT 2010


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

https://bugzilla.novell.com/show_bug.cgi?id=567522#c3


Andrés G. Aragoneses <knocte at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|BinaryFormatter doesn't     |BinaryFormatter doesn't
                   |deserialize object right    |deserialize objects with
                   |                            |nullable types

--- Comment #3 from Andrés G. Aragoneses <knocte at gmail.com> 2010-09-09 16:46:36 UTC ---
I have isolated the problem to just nullable types.

This simple class fails to be deserialized on mono when assigning to the field
the value 1:

[Serializable]
public class AddressBookContact
{
  public int? UserId;
}

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