[Mono-bugs] [Bug 75321][Wis] Changed - Private variable assigned reference value but otherwise not used flagged as warning

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue Jun 21 00:46:17 EDT 2005

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 at ximian.com.


--- shadow/75321	2005-06-20 03:59:39.000000000 -0400
+++ shadow/75321.tmp.26332	2005-06-21 00:46:17.000000000 -0400
@@ -90,6 +90,14 @@
 I have same opinion as Ben ;-). The warning should be reported here.
 Microsoft has made some changed to track this in csc 2 better.
 But they report this only for simple case. I don't know a reason why
 they ignore this a little bit complicated case (it is still beta?).
 However, I will change warning number to be less confusing.
+------- Additional Comments From miguel at ximian.com  2005-06-21 00:46 -------
+Hello Marek,
+   CSC here reports:
+a.cs(2,6): warning CS0414: The private field 'X.a' is assigned but its
+value is never used

More information about the mono-bugs mailing list