[Mono-bugs] [Bug 59594][Nor] New - [trivialfix] ReadOnlyCollectionBase serialized by Mono is incompatible with deserializer of Microsoft CLR

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Fri, 4 Jun 2004 07:20:43 -0400 (EDT)


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 paf@design.ru.

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

--- shadow/59594	2004-06-04 07:20:43.000000000 -0400
+++ shadow/59594.tmp.26466	2004-06-04 07:20:43.000000000 -0400
@@ -0,0 +1,50 @@
+Bug#: 59594
+Product: Mono: Class Libraries
+Version: unspecified
+OS: All
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: CORLIB
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: PAF@design.ru               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: [trivialfix] ReadOnlyCollectionBase serialized by Mono is incompatible with deserializer of Microsoft CLR
+
+server part runs on Mono, client part on Microsoft.Net implementation.
+they need to exchange info.
+am trying to use Serialize|Deserialize to do that
+
+Steps to reproduce the problem:
+1. serializing some data on Mono
+2. transferring it to box with Microsoft.Net
+3. deserializing data there
+
+Actual Results:
+System.Runtime.Serialization.SerializationException: Cannot find member 
+name 
+ArtLebedev.Imprimatur2.DocumentManagement.DocType+TypeRelationCollectionRO.
+
+where TypeRelationCollectionRO is a descendant of ReadOnlyCollectionBase
+...
+System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize
+(Stream serializationStream)
+at ArtLebedev.Imprimatur2.Kernel.SocketReaderWriter.ReadObject()
+
+Expected Results:
+normal deserialization.
+and overall compatibility of mono<=>ms libraries in serialization format.
+
+Additional Information:
+got ReadOnlyCollectionBase.cs from CVS today.
+
+note: it's field is named as
+"myList"
+
+while to be compatible with MS.NET they should be named:
+"list"