[Mono-bugs] [Bug 47855][Maj] New - mcs considers Obsolete as Conditional (false)
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Sun, 24 Aug 2003 15:00:35 -0400 (EDT)
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 gonzalo@ximian.com.
http://bugzilla.ximian.com/show_bug.cgi?id=47855
--- shadow/47855 2003-08-24 15:00:35.000000000 -0400
+++ shadow/47855.tmp.2436 2003-08-24 15:00:35.000000000 -0400
@@ -0,0 +1,43 @@
+Bug#: 47855
+Product: Mono/MCS
+Version: unspecified
+OS: All
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Major
+Component: Misc
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: gonzalo@ximian.com
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: mcs considers Obsolete as Conditional (false)
+
+Compile and run:
+---
+using System;
+
+class C
+{
+ [Obsolete ("this is obsolete", false)]
+ public static void Method ()
+ {
+ Console.WriteLine ("Method");
+ }
+
+ static void Main ()
+ {
+ Method ();
+ }
+
+}
+---
+
+Actual results:
+nothing
+
+Expected:
+Method