[Mono-bugs] [Bug 61860][Maj] Changed - Regresssion: pack-layout.exe failing

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Fri, 23 Jul 2004 13:16:58 -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 bmaurer@users.sf.net.

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

--- shadow/61860	2004-07-23 02:11:06.000000000 -0400
+++ shadow/61860.tmp.26924	2004-07-23 13:16:58.000000000 -0400
@@ -62,6 +62,21 @@
 changed back to 0.
 
 ------- Additional Comments From martin@ximian.com  2004-07-23 02:11 -------
 But then you must first change to runtime so you won't emit .size 0
 .pack 0 for an AutoLayout struct, since that's no longer allowed on
 the latest .NET (or was it ever allowed?).
+
+------- Additional Comments From bmaurer@users.sf.net  2004-07-23 13:16 -------
+The CLI spec says:
+
+"AutoLayout types shall not own any rows in the ClassLayout table"
+(the class layout table is the one that has pack and size)
+
+In the same section:
+
+"a class size of zero does not mean the class has zero size. it means,
+no size was specified at definition time. instead the actual size is
+calculated from the field types, taking account of pack size..."
+
+Whatever it takes, the constant *MUST* have a value of zero. It is
+mandated by the api.