[Mono-bugs] [Bug 74875][Nor] Changed - Custom marshaling differences between Mono and .NET Framework

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Thu, 12 May 2005 11:50:47 -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 kornelpal@hotmail.com.

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

--- shadow/74875	2005-05-12 11:28:04.000000000 -0400
+++ shadow/74875.tmp.6911	2005-05-12 11:50:47.000000000 -0400
@@ -94,6 +94,18 @@
 Mono should do the same.
 
 ------- Additional Comments From vargaz@gmail.com  2005-05-12 11:28 -------
 [Out] marshalling of arrays should work according to the spec in
 1.1.6. Could you attach a small testcase where it fails ?
 
+
+------- Additional Comments From kornelpal@hotmail.com  2005-05-12 11:50 -------
+Case number 4 is canceled but the others are verified.
+
+Neither Mono nor .NET Framework support custom marshaling of ref 
+parameters.
+
+The only difference is that Mono causes an assertion while .NET 
+Framework verifies the custom marshaler (ICustomMarshaler, ...), 
+calls GetInstance but does not call marshaling methods. I think a 
+managed exception could be better as binaries may have such 
+parameters.