[Mono-bugs] [Bug 43351][Nor] New - Mono does not support custom marshalers

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
Tue, 20 May 2003 01:17:55 -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 mathpup@mylinuxisp.com.


--- shadow/43351	Tue May 20 01:17:55 2003
+++ shadow/43351.tmp.14973	Tue May 20 01:17:55 2003
@@ -0,0 +1,49 @@
+Bug#: 43351
+Product: Mono/Runtime
+Version: unspecified
+OS Details: 
+Status: NEW   
+Priority: Normal
+Component: misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: mathpup@mylinuxisp.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+Summary: Mono does not support custom marshalers
+Description of Problem: 
+Although the Mono's class library supports the ICustomMarshaler interface, the 
+infrastructure to call a custom marshaler is missing. 
+The documentation on custom marshalers on MSDN and in the Rotor docs is a little 
+hard to understand without seeing any examples, so I am attaching 3 source files to 
+illustrate the concept: one C file and two C# files. One of the source files 
+demonstrates a managed-to-native marshaler, and the other demonstrates a 
+native-to-managed. It is possible to implement both directions with a single class, 
+but to demonstrate the technique, I elected to separate them.  
+Steps to reproduce the problem: 
+Actual Results: 
+Expected Results: 
+How often does this happen?  
+Additional Information: