[Mono-bugs] [Bug 77947][Nor] New - [PATCH] Avoid setting array
elements to null in array literals
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Wed Mar 29 10:37:56 EST 2006
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 at gmail.com.
http://bugzilla.ximian.com/show_bug.cgi?id=77947
--- shadow/77947 2006-03-29 10:37:55.000000000 -0500
+++ shadow/77947.tmp.4153 2006-03-29 10:37:55.000000000 -0500
@@ -0,0 +1,25 @@
+Bug#: 77947
+Product: Mono: Compilers
+Version: unspecified
+OS:
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: C#
+AssignedTo: rharinath at novell.com
+ReportedBy: vargaz at gmail.com
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: [PATCH] Avoid setting array elements to null in array literals
+
+The following patch avoids setting elements of array literals to null, as
+in the following example:
+
+string[] arr = new string [] { null, "A", null }
+
+csc does a similar optimizations. This patch reduces the size of mcs.exe
+and mscorlib.dll by about 1KB respectively.
More information about the mono-bugs
mailing list