[Mono-bugs] [Bug 641535] Wrong Marshal.SizeOf() for structs with explicity layout

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Oct 6 13:16:00 EDT 2010



Gonzalo Paniagua Javier <gonzalo at novell.com> changed:

           What    |Removed                     |Added
 Attachment #391335|0                           |1
        is obsolete|                            |

--- Comment #7 from Gonzalo Paniagua Javier <gonzalo at novell.com> 2010-10-06 17:15:59 UTC ---
Created an attachment (id=393361)
 --> (http://bugzilla.novell.com/attachment.cgi?id=393361)
This time the fix is for real

This patch is tested to give the same results with mono in x86 and x86-64 that
NET yields in Win7 32 bits and win7 64 bits.

As a side note, there is a test in marshal7.exe that fails on win7 64bits. The
test returning 13 in case of failure. The actual size of a struct that holds an
object seems to be 24 bytes. I'll file a separate bug for this once this bug is

Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.

More information about the mono-bugs mailing list