[Mono-bugs] [Bug 59979][Cri] Changed - Structure marshalling calculates the wrong size for the structure

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Fri, 11 Jun 2004 01:42:00 -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 peter@novonyx.com.

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

--- shadow/59979	2004-06-11 01:40:24.000000000 -0400
+++ shadow/59979.tmp.25104	2004-06-11 01:42:00.000000000 -0400
@@ -41,6 +41,11 @@
 Console.WriteLine("Size of t: {0}", Marshal.SizeOf(typeof(TestStructure)));
 
 On Mono, this will return 8, instead of 1028. On MS.Net it properly returns
 1028.
 
 I will also attach a .exe that allows to reproduce the issue.
+
+------- Additional Comments From peter@novonyx.com  2004-06-11 01:41 -------
+Created an attachment (id=8120)
+Look for the "Size of XEvent:" output. If it returns 64 marshalling is broken, if it returns 1028 it works properly.
+