[Mono-bugs] [Bug 76717][Min] Changed - alignmnet of reference fields

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Mon Nov 21 13:28:34 EST 2005

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 billmedland at mercuryspeed.com.


--- shadow/76717	2005-11-21 10:58:35.000000000 -0500
+++ shadow/76717.tmp.27917	2005-11-21 13:28:34.000000000 -0500
@@ -56,6 +56,11 @@
 aligning fields with references if it's not big enough (and obey it
 only in the unmanaged layout of the struct, because that one doesn't
 have reference fields), or we should refuse to load the type and
 generate a TypeLoad or similar exception. Do you mind checking what
 the MS runtime does in this case?
+------- Additional Comments From billmedland at mercuryspeed.com  2005-11-21 13:28 -------
+Under MS it returns 10, as I would expect.  I guess the question is 
+whether Marshal.SizeOf is supposed to return the size of the Managed 
+or Unmanaged version. 

More information about the mono-bugs mailing list