[Mono-bugs] [Bug 81112][Nor] New - Too many obsolete warnings.

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sun Mar 11 09:32:23 EDT 2007


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=81112

--- shadow/81112	2007-03-11 08:32:23.000000000 -0500
+++ shadow/81112.tmp.26793	2007-03-11 08:32:23.000000000 -0500
@@ -0,0 +1,65 @@
+Bug#: 81112
+Product: Mono: Compilers
+Version: 1.2
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: C#
+AssignedTo: marek.safar at seznam.cz                            
+ReportedBy: marek.safar at seznam.cz               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Too many obsolete warnings.
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+
+We produce redundant warnings for some instance calls.
+
+Steps to reproduce the problem:
+1.
+ 
+using System;
+
+interface I
+{
+}
+
+[Obsolete]
+class C
+{
+	public void Foo () {}
+}
+
+class M
+{
+	public static void Main ()
+	{
+	}
+	
+	public void Test (C c)
+	{
+		c.Foo ();
+	}
+}
+
+Actual Results:
+
+?.cs(19,27): warning CS0612: `C' is obsolete
+?.cs(21,19): warning CS0612: `C' is obsolete
+
+
+Expected Results:
+
+?.cs(19,27): warning CS0612: `C' is obsolete
+
+How often does this happen? 
+
+
+Additional Information:


More information about the mono-bugs mailing list