[Mono-bugs] [Bug 80761][Nor] Changed - TypeLoadException when remoting from Windows

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Fri Feb 9 21:12:03 EST 2007


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 robertj at gmx.net.

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

--- shadow/80761	2007-02-09 12:36:38.000000000 -0500
+++ shadow/80761.tmp.7813	2007-02-09 21:12:03.000000000 -0500
@@ -92,6 +92,32 @@
 
 ------- Additional Comments From robertj at gmx.net  2007-02-08 17:46 -------
 Test case:
 
 http://lists.ximian.com/pipermail/mono-devel-list/2007-February/022417.html
 
+
+------- Additional Comments From robertj at gmx.net  2007-02-09 21:12 -------
+The delegate serialization format has changed in MS.NET 2.0.
+It contains now the MethodInfos of each delegate in the invocation
+list.
+
+The test Mono -> MS.NET worked because MS.NET is still accepting
+the old format, but, for obvious reasons, it doesn't serialize using
+that old format anymore, which broke the MS.NET -> Mono test
+as well as MS.NET 2.0 -> 1.1.
+
+TODO
+
+1 deduce the new delegate serialization format, implement
+  it while still accepting the old format.
+
+2 assure that MethodInfo is serialization compatible with
+  MS.NET. At present it isn't, because Mono is using
+  System.Reflection.ReflectionSerializationHolder while
+  MS.NET System.Reflection.MemberInfoSerializationHolder.
+  The on-the-wire format seems to be similar, though.
+
+3 ditto for PropertyInfo, FieldInfo, EventInfo.
+
+4 handle generic types
+


More information about the mono-bugs mailing list