[Mono-bugs] [Bug 74367][Wis] New - const null string not handled correctly by monodis
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Mon, 4 Apr 2005 07:58:17 -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 radical@gmail.com.
http://bugzilla.ximian.com/show_bug.cgi?id=74367
--- shadow/74367 2005-04-04 07:58:17.000000000 -0400
+++ shadow/74367.tmp.23358 2005-04-04 07:58:17.000000000 -0400
@@ -0,0 +1,40 @@
+Bug#: 74367
+Product: Mono: Compilers
+Version: unspecified
+OS:
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Wishlist
+Component: IL assembler
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: radical@gmail.com
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: const null string not handled correctly by monodis
+
+Test case:
+
+public class a
+{
+ public const System.String vbNullString = "";
+
+ public static void Main (string [] args)
+ {
+ }
+}
+
+mcs null.cs
+monodis null.exe gives >
+
+[snip]
+ .class public auto ansi beforefieldinit a
+ extends [mscorlib]System.Object
+ {
+ .field public static literal string vbNullString = bytearray (
+---------> Incomplete bytearray.
+
+Attached is the patch to fix this.