[Mono-bugs] [Bug 70693][Maj] New - Constant table is not sorted

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Mon, 20 Dec 2004 10:08:03 -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 kjambunathan@novell.com.


--- shadow/70693	2004-12-20 10:08:03.000000000 -0500
+++ shadow/70693.tmp.11971	2004-12-20 10:08:03.000000000 -0500
@@ -0,0 +1,37 @@
+Bug#: 70693
+Product: Mono: Runtime
+Version: unspecified
+OS Details: 
+Status: NEW   
+Priority: Major
+Component: misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: kjambunathan@novell.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+Summary: Constant table is not sorted
+Description of Problem:
+While emitting an exe, constant table remains unsorted.
+mcs.exe - hack of existing C# compiler to compile VB.NET files.
+Sample.vb - A sample vb program that defines an enum. It also has a method
+that takes a parameter with a default value.
+Steps to reproduce the problem:
+1. mcs Sample.vb
+2. monodis Sample.exe
+See that the .param [] = 'not found'.
+This is because the constant table in Sample.exe is not sorted. The same
+can alos be verified by dumping the constant table "monodis --constant