> -----Original Message----- > From: [EMAIL PROTECTED] [mailto:mono-devel-list- > [EMAIL PROTECTED] On Behalf Of Atsushi Eno > Sent: zaterdag 6 januari 2007 16:51 > To: Gert Driesen > Cc: mono-devel-list@lists.ximian.com > Subject: Re: [Mono-dev] Reason for introduction of CS0809 warning in > mcs ? > > Hi, > > To understand the issue precisely, does it warn something like > "marking overriden member as obsolete is bogus" ? For example: > > public class Class1 > { > public virtual void Foo () {} > } > > public class Class2 : Class1 > { > [Obsolete] > public override void Foo () {} > } > > If so, I support this warning. That member marked as obsoleted > could be used by referencing Class1.Foo() and thus there is no > point of warning only Class2.Foo() since depending on the usage > this obsolete warning cannot be caught. So, it sounds like a > bad idea to mark overriden member as obsolete.
Yeah, you're right. Thanks for the feedback. Gert _______________________________________________ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list