Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by [EMAIL PROTECTED]

http://bugzilla.ximian.com/show_bug.cgi?id=79314

--- shadow/79314        2006-09-07 05:31:35.000000000 -0400
+++ shadow/79314.tmp.3280       2006-09-07 05:31:35.000000000 -0400
@@ -0,0 +1,32 @@
+Bug#: 79314
+Product: Mono: Class Libraries
+Version: 1.1
+OS: GNU/Linux [Other]
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: CORLIB
+AssignedTo: [EMAIL PROTECTED]                            
+ReportedBy: [EMAIL PROTECTED]               
+QAContact: [EMAIL PROTECTED]
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: DateTime isn't serialized correctly using BinaryFormatter
+
+When serializing a DateTime variable using BinaryFormatter to a file 
+stream, the file doesn't match the MS.Net format, and causes exception 
+when reading (deserializing) it.
+
+More specifically:
+I created a program on MS.Net that creates an ArrayList filled with 
+objects of a class containing (among other things) a DateTime element. I 
+serialized this ArrayList to a file stream using a BinaryFormatter.
+I then ran that application on linux using mono, reading the same file I 
+created on windows. I got an ArgumentOutOfRangeException for the DateTime 
+element (actually for the TimeSpan inside it).
+
+I am using the DotNet Framework 3.0 on windows (July CTP) and Mono 1.1.17 
+on linux.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to