[Mono-bugs] [Bug 79471][Nor] Changed - Custom marshaler bugs

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sat Sep 30 09:27:04 EDT 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 kornelpal at gmail.com.

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

--- shadow/79471	2006-09-30 09:16:14.000000000 -0400
+++ shadow/79471.tmp.31382	2006-09-30 09:27:04.000000000 -0400
@@ -64,6 +64,20 @@
 CustomMarshalerTest.cs
 
 
 ------- Additional Comments From vargaz at gmail.com  2006-09-30 09:16 -------
 Fixed in SVN, even tough the problematic cases are completely useless.
 
+
+------- Additional Comments From kornelpal at gmail.com  2006-09-30 09:27 -------
+The case where MS does absolutely nothing is completely useless as 
+you said. And I think this is why they do nothing.:) In fact I would 
+prefer some exception but I don't suggest to be incompatible with MS.
+
+The missing MarshalNativeToManaged is useful however if you want to 
+implement a custom StringBuilder mashaler for example where you 
+modify the original StringBuilder instead of returning a new one. Of 
+course this requires a Hashtable to track managed objects because 
+custom marshallers are not really designed for this functionality. 
+But with this fix it is now possible to do something like that.
+
+And thanks for the fix.


More information about the mono-bugs mailing list