[Mono-bugs] [Bug 654054] Marshal.SizeOf(typeof(char)) returns 2, should return 1.

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Nov 16 14:57:00 EST 2010


https://bugzilla.novell.com/show_bug.cgi?id=654054

https://bugzilla.novell.com/show_bug.cgi?id=654054#c1


Zoltan Varga <vargaz at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |vargaz at gmail.com

--- Comment #1 from Zoltan Varga <vargaz at gmail.com> 2010-11-16 19:57:00 UTC ---
This is caused by this line in metadata.c:

    case MONO_TYPE_CHAR: return MONO_NATIVE_U2;

Changing this to U1 fixes this tests, but breaks tests/pinvoke2.exe.

-- 
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