[Mono-bugs] [Bug 76931][Blo] Changed - Return value of ISerializationSurrogate.SetObjectData() ignored

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Wed Dec 21 10:38:47 EST 2005


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 rharinath at novell.com.

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

--- shadow/76931	2005-12-15 13:52:11.000000000 -0500
+++ shadow/76931.tmp.514	2005-12-21 10:38:47.000000000 -0500
@@ -65,6 +65,18 @@
 
 ------- Additional Comments From gert.driesen at pandora.be  2005-12-15 13:52 -------
 Martin, I've added an NUNit test to svn based on your testcase.
 
 However, your fix seems to introduce a regression in 
 System.Runtime.Serialization.SerializationTest.TestSerialization()
+
+------- Additional Comments From rharinath at novell.com  2005-12-21 10:38 -------
+From what I could make out, we have
+
+  class ListItem { ... ListValue value; }
+  [Serializable] struct ListValue { ... Point p; }
+  struct Point { ... }
+
+and Point has a surrogate.  For some reason, the ObjectManager doesn't
+seem to think that ListValue is a ValueType.  Martin's patch above
+delays the resolution of Point, which due to the above problem
+prevents the transitive update of ListItem.


More information about the mono-bugs mailing list