[Mono-bugs] [Bug 32306][Min] New - mcs doesn report warning CS0169 (unused private member)

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
15 Oct 2002 15:36:01 -0000


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 ndrochak@gol.com.

http://bugzilla.ximian.com/show_bug.cgi?id=32306

--- shadow/32306	Tue Oct 15 11:36:01 2002
+++ shadow/32306.tmp.17269	Tue Oct 15 11:36:01 2002
@@ -0,0 +1,35 @@
+Bug#: 32306
+Product: Mono/MCS
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Minor
+Component: Misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: ndrochak@gol.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: mcs doesn report warning CS0169 (unused private member)
+
+compile the following example with mcs and notice warning CS-169 is NOT 
+reported...
+
+===========cut===========cut===========cut===========cut===========cut
+using System;
+
+class Class1
+{
+	private int not_used_this_one;
+	static int Main(string[] args)
+	{
+		return 0;
+	}
+}
+===========cut===========cut===========cut===========cut===========cut
+
+mcs should report the warning.