[Mono-bugs] [Bug 61512][Nor] New - IlAsm class explicity layout and .pack directive

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Tue, 13 Jul 2004 23:32:52 -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 spam_andir@mail.ru.

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

--- shadow/61512	2004-07-13 23:32:52.000000000 -0400
+++ shadow/61512.tmp.24684	2004-07-13 23:32:52.000000000 -0400
@@ -0,0 +1,50 @@
+Bug#: 61512
+Product: Mono: Compilers
+Version: unspecified
+OS: 
+OS Details: Windows 2003
+Status: NEW   
+Resolution: 
+Severity: Unknown
+Priority: Normal
+Component: IL assembler
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: spam_andir@mail.ru               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Summary: IlAsm class explicity layout and .pack directive
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+// bug.il
+.assembly TestPack{}
+
+.class public explicit MyClass
+{
+	.size 8
+}
+
+ilasm output has error:
+
+.class public explicit ansi MyClass
+       extends [mscorlib]System.Object
+{
+  .pack 65535 // max-value is 2^7=128
+  .size 8
+} // end of class MyClass
+
+Expected Results:
+
+.class public explicit ansi MyClass
+       extends [mscorlib]System.Object
+{
+  .pack 1
+  .size 8
+} // end of class MyClass
+
+
+How often does this happen? 
+
+always