https://bugzilla.novell.com/show_bug.cgi?id=646556
https://bugzilla.novell.com/show_bug.cgi?id=646556#c0 Summary: Binary serialization/deserialization do not work correctly if object contains nullable DateTime type. Classification: Mono Product: Mono: Runtime Version: 2.8.x Platform: All OS/Version: All Status: NEW Severity: Critical Priority: P5 - None Component: debug AssignedTo: [email protected] ReportedBy: [email protected] QAContact: [email protected] Found By: Community User Blocker: Yes Created an attachment (id=394968) --> (http://bugzilla.novell.com/attachment.cgi?id=394968) Demo program shows binary serialization/deserialization problem. Description of problem: If an object contains nullable DateTime type, files binary-serialized in .NET cannot be binary-deserialized in Mono. And vice visa. Steps to reproduce the problem: 1. Build the attached program 2. Run it with .NET -- it generates two files: Employee.data and EmployeeWithNullableDateTime.data 3. Run it with Mono -- it generates two other files: Employee_mono.data and EmployeeWithNullableDateTime_mono.data 4. run the program with parameter "-t" with .NET 5. run the program with parameter "-t" with Mono 6. Compare the output of step 4 and 5. Actual Results: File serialized with .NET cannot be deserialized in Mono. File serialized with Mono cannot be deserialized in .NET. Expected Results: Data serialization/deserializaton should be compatable between .NET and Mono. How often does this happen? always Additional Information: -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
