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 [EMAIL PROTECTED] http://bugzilla.ximian.com/show_bug.cgi?id=82489 --- shadow/82489 2007-08-19 14:59:39.000000000 -0400 +++ shadow/82489.tmp.6439 2007-08-19 14:59:39.000000000 -0400 @@ -0,0 +1,33 @@ +Bug#: 82489 +Product: Mono: Compilers +Version: 1.2 +OS: +OS Details: mono-1.2.4 on amd64 +Status: NEW +Resolution: +Severity: +Priority: Minor +Component: C# +AssignedTo: [EMAIL PROTECTED] +ReportedBy: [EMAIL PROTECTED] +QAContact: [EMAIL PROTECTED] +TargetMilestone: --- +URL: +Cc: +Summary: System.ObsoleteAttribute doesn't work on constructors + +Compilation of the following code doesn't report any warnings, when +obsolete constructor is used. + +class Foo +{ + [ System.Obsolete () ] + public Foo () + { + } + + public static void Main () + { + new Foo (); + } +} _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
