[Mono-bugs] [Bug 45797][Nor] Changed - Invalid report of error CS0165: Use of unassigned local variable
bugzilla-daemon@rocky.ximian.com
bugzilla-daemon@rocky.ximian.com
Fri, 4 Jul 2003 17:32:30 -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 miguel@ximian.com.
http://bugzilla.ximian.com/show_bug.cgi?id=45797
--- shadow/45797 Thu Jul 3 12:55:10 2003
+++ shadow/45797.tmp.24276 Fri Jul 4 17:32:30 2003
@@ -1,14 +1,14 @@
Bug#: 45797
Product: Mono/MCS
Version: unspecified
-OS:
+OS: unknown
OS Details:
-Status: NEW
-Resolution:
-Severity:
+Status: RESOLVED
+Resolution: NOTABUG
+Severity: Unknown
Priority: Normal
Component: Misc
AssignedTo: mono-bugs@ximian.com
ReportedBy: sebastian.nowozin@web.de
QAContact: mono-bugs@ximian.com
TargetMilestone: ---
@@ -40,6 +40,14 @@
Additional Information:
------- Additional Comments From sebastian.nowozin@web.de 2003-07-03 12:55 -------
Created an attachment (id=4775)
test1.cs testcase, producing error CS0165
+
+------- Additional Comments From miguel@ximian.com 2003-07-04 17:32 -------
+your code is buggy.
+
+The compiler has no way of knowing that Environment.Exit() is
+equivalent to return, so that can not be considered valid code.
+
+CSC shows the same problem.