[Mono-bugs] [Bug 73517][Nor] New - ilasm doesn't support .param directives
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Wed, 9 Mar 2005 13:35:51 -0500 (EST)
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 vargaz@gmail.com.
http://bugzilla.ximian.com/show_bug.cgi?id=73517
--- shadow/73517 2005-03-09 13:35:51.000000000 -0500
+++ shadow/73517.tmp.25883 2005-03-09 13:35:51.000000000 -0500
@@ -0,0 +1,66 @@
+Bug#: 73517
+Product: Mono: Compilers
+Version: unspecified
+OS:
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: IL assembler
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: vargaz@gmail.com
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: ilasm doesn't support .param directives
+
+Testcase:
+
+<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
+.assembly extern mscorlib
+{
+ .publickeytoken = (B7 7A 5C 56 19 34 E0 89 ) //
+.z\V.4..
+ .ver 1:0:5000:0
+}
+
+.assembly t3
+{
+ .hash algorithm 0x00008004
+ .ver 0:0:0:0
+}
+
+.module t3.dll
+
+// MVID: {DF64F0CC-80A9-4469-BED7-8C13F6D9DE46}
+
+.imagebase 0x00400000
+.subsystem 0x00000003
+.file alignment 512
+.corflags 0x00000001
+
+ .class public auto ansi beforefieldinit abc
+ extends [mscorlib]System.Object
+ {
+ .method public hidebysig static void
+ foo([opt] valuetype menum a) cil managed
+ {
+ .param[1] = int32 (0x4)
+
+ .maxstack 8
+ ret
+ } // end of method abc::foo
+ } // end of class abc
+
+ .class public auto ansi sealed menum
+ extends [mscorlib]System.Enum
+ {
+ .field public specialname rtspecialname unsigned int8 value__
+ .field public static literal valuetype menum First = int8(0x04)
+ .field public static literal valuetype menum Second = int8(0x6D)
+ } // end of class menum
+<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
+If you disassemble the assembly produced by ilasm from this test case,
+the 'foo' method doesn't contain the .param directive.