[Mono-bugs] [Bug 80383][Nor] New - [PATCH] support for generic types & methods in remoting interfaces

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Thu Dec 28 00:02:55 EST 2006


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=80383

--- shadow/80383	2006-12-28 00:02:55.000000000 -0500
+++ shadow/80383.tmp.18668	2006-12-28 00:02:55.000000000 -0500
@@ -0,0 +1,53 @@
+Bug#: 80383
+Product: Mono: Runtime
+Version: 1.2
+OS: All
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: remoting
+AssignedTo: lluis at ximian.com                            
+ReportedBy: robertj at gmx.net               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: [PATCH] support for generic types & methods in remoting interfaces
+
+The patches consists of:
+
+corlib/System.Runtime.Serialization.Formatters.Binary:
+
+- documentation update of the binary serialization format
+
+- BinaryCommon.Methodflags update
+
+- MessageFormater update
+
+- ObjectWriter.cs, ObjectReader.cs:
+
+  MS.NET serializes generic parameters as System.RuntimeType objects.
+  Because Mono doesn't know this type, the binary formatter must
+  map between System.RuntimeType and System.MonoType.
+
+  This (maybe questionable) change is only required for interoperability.
+  I tried to make the patch less intrusive by checking the serialization
+  context.
+
+
+corlib/System.Runtime.Remoting.Messaging:
+
+- MethodCall: fix a buglet that prevented CastTo() to handle closed
+  generic types correctly.
+
+- MethodCall: add support for generic method arguments
+
+- ReturnMessage: fix for bug #80371.
+
+
+System.Runtime.Remoting/Tests:
+
+- GenericTest: unit tests. I'll try later to integrate this test into
+  the existing tests, if possible.


More information about the mono-bugs mailing list