[Mono-bugs] [Bug 57014][Nor] Changed - mcs doesn't emit code for a function with try catch and if
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Tue, 27 Apr 2004 23:56:47 -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 martin@ximian.com.
http://bugzilla.ximian.com/show_bug.cgi?id=57014
--- shadow/57014 2004-04-14 13:12:52.000000000 -0400
+++ shadow/57014.tmp.30266 2004-04-27 23:56:47.000000000 -0400
@@ -35,6 +35,24 @@
any errors
------- Additional Comments From pcgod@gmx.net 2004-04-14 13:12 -------
Created an attachment (id=7368)
testcase
+
+------- Additional Comments From martin@ximian.com 2004-04-27 23:56 -------
+using System;
+
+public class X {
+ public const string Address = null;
+
+ public static bool Resolve (string addr)
+ {
+ return true;
+ }
+
+ static void Main ()
+ {
+ Resolve (Address);
+ }
+}
+