[Mono-bugs] [Bug 79136][Wis] Changed - Marshal.SizeOf incorrect for struct with object/interrface members

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sat Sep 2 07:06:02 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 vargaz at gmail.com.


--- shadow/79136	2006-08-21 18:24:04.000000000 -0400
+++ shadow/79136.tmp.15543	2006-09-02 07:06:02.000000000 -0400
@@ -1,14 +1,14 @@
 Bug#: 79136
 Product: Mono: Class Libraries
 Version: unspecified
+OS: unknown
 OS Details: 
 Status: NEW   
+Severity: Unknown
 Priority: Wishlist
 Component: System
 AssignedTo: mono-bugs at ximian.com                            
 ReportedBy: joncham at gmail.com               
 QAContact: mono-bugs at ximian.com
 TargetMilestone: ---
@@ -43,6 +43,12 @@
 Additional Information:
 ------- Additional Comments From joncham at gmail.com  2006-08-21 18:24 -------
 Created an attachment (id=17490)
 Test case
+------- Additional Comments From vargaz at gmail.com  2006-09-02 07:06 -------
+Marshal.SizeOf should return the size of the structure when marshalled
+to native code. Since the object/interface members cannot be marshalled
+to native code, the 0 size seems ok.

More information about the mono-bugs mailing list