mail-archives/mono-bugs/2003-July/006132.html

97 строки
3.7 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mono-bugs] [Bug 45797][Nor] Changed - Invalid report of error CS0165: Use of unassigned local variable
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:bugzilla-daemon%40rocky.ximian.com">
<META NAME="robots" CONTENT="index,nofollow">
<LINK REL="Previous" HREF="006131.html">
<LINK REL="Next" HREF="006133.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mono-bugs] [Bug 45797][Nor] Changed - Invalid report of error CS0165: Use of unassigned local variable
</H1>
<B>bugzilla-daemon@rocky.ximian.com
</B>
<A HREF="mailto:bugzilla-daemon%40rocky.ximian.com"
TITLE="[Mono-bugs] [Bug 45797][Nor] Changed - Invalid report of error CS0165: Use of unassigned local variable">bugzilla-daemon@rocky.ximian.com
</A><BR>
<I>Fri, 4 Jul 2003 17:32:30 -0400 (EDT)</I>
<P><UL>
<LI> Previous message: <A HREF="006131.html">[Mono-bugs] [Bug 45807][Maj] Changed - Invalid assignment causes compiler to crash.
</A></li>
<LI> Next message: <A HREF="006133.html">[Mono-bugs] [Bug 45520][Blo] Changed - regression: MCS 0.25 is not able to resolve alias to nested class
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#6132">[ date ]</a>
<a href="thread.html#6132">[ thread ]</a>
<a href="subject.html#6132">[ subject ]</a>
<a href="author.html#6132">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>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 <A HREF="mailto:miguel@ximian.com.">miguel@ximian.com.</A>
<A HREF="http://bugzilla.ximian.com/show_bug.cgi?id=45797">http://bugzilla.ximian.com/show_bug.cgi?id=45797</A>
--- 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: <A HREF="mailto:mono-bugs@ximian.com">mono-bugs@ximian.com</A>
ReportedBy: <A HREF="mailto:sebastian.nowozin@web.de">sebastian.nowozin@web.de</A>
QAContact: <A HREF="mailto:mono-bugs@ximian.com">mono-bugs@ximian.com</A>
TargetMilestone: ---
@@ -40,6 +40,14 @@
Additional Information:
------- Additional Comments From <A HREF="mailto:sebastian.nowozin@web.de">sebastian.nowozin@web.de</A> 2003-07-03 12:55 -------
Created an attachment (id=4775)
test1.cs testcase, producing error CS0165
+
+------- Additional Comments From <A HREF="mailto:miguel@ximian.com">miguel@ximian.com</A> 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.
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI> Previous message: <A HREF="006131.html">[Mono-bugs] [Bug 45807][Maj] Changed - Invalid assignment causes compiler to crash.
</A></li>
<LI> Next message: <A HREF="006133.html">[Mono-bugs] [Bug 45520][Blo] Changed - regression: MCS 0.25 is not able to resolve alias to nested class
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#6132">[ date ]</a>
<a href="thread.html#6132">[ thread ]</a>
<a href="subject.html#6132">[ subject ]</a>
<a href="author.html#6132">[ author ]</a>
</LI>
</UL>
</body></html>