[Mono-bugs] [Bug 80493][Nor] New - CS0109 reported when hiding interface member
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Wed Jan 10 16:22:35 EST 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 gert.driesen at pandora.be.
http://bugzilla.ximian.com/show_bug.cgi?id=80493
--- shadow/80493 2007-01-10 16:22:35.000000000 -0500
+++ shadow/80493.tmp.5183 2007-01-10 16:22:35.000000000 -0500
@@ -0,0 +1,44 @@
+Bug#: 80493
+Product: Mono: Compilers
+Version: 1.2
+OS: All
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: C#
+AssignedTo: rharinath at novell.com
+ReportedBy: gert.driesen at pandora.be
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: CS0109 reported when hiding interface member
+
+mcs reports warning CS0109 (when warninglevel is 4) for the following
+valid code:
+
+public interface ISequence
+{
+ object this [int index] {
+ get;
+ }
+}
+
+public interface IMutableSequence : ISequence
+{
+ new object this [int index] {
+ get;
+ set;
+ }
+}
+
+Actual result:
+
+warning CS0109: The member 'IMutableSequeuence.this[int] does not hide an
+inherited member. The new keyword is not required.
+
+Expected result:
+
+No warning.
More information about the mono-bugs
mailing list