[Mono-bugs] [Bug 62673][Wis] Changed - Spurious warning CS0169
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Wed Mar 22 14:01:19 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 marek.safar at seznam.cz.
http://bugzilla.ximian.com/show_bug.cgi?id=62673
--- shadow/62673 2006-03-22 11:35:16.000000000 -0500
+++ shadow/62673.tmp.11028 2006-03-22 14:01:19.000000000 -0500
@@ -86,6 +86,22 @@
My guess for (2) is that its possible that auto-generated code (say,
Winforms) might assign more variables than are actually used in a
winforms application.
The extra warnings that we will report will likely hide real
problematic warnings in my opinion.
+
+------- Additional Comments From marek.safar at seznam.cz 2006-03-22 14:01 -------
+I think we don't need to mimic every bug in csc compiler. I think
+Microsoft testers simply don't pay so much attention to warnings.
+They fixed a few of them in version 2.0 but even the newly introduced
+have 'holes' and don't catch all cases.
+
+I really don't understand why they don't report warning for this (but
+variable is not emitted).
+
+ public A(string name)
+ {
+ string name2 = name;
+ }
+
+I will try to report it as a defect.
More information about the mono-bugs
mailing list