[Mono-bugs] [Bug 21416] New - more interface related issues.

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
6 Mar 2002 11:50:23 -0000


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 lupus@ximian.com.

http://bugzilla.ximian.com/show_bug.cgi?id=21416

--- shadow/21416	Wed Mar  6 06:50:23 2002
+++ shadow/21416.tmp.32234	Wed Mar  6 06:50:23 2002
@@ -0,0 +1,30 @@
+Bug#: 21416
+Product: Mono/MCS
+Version: unspecified
+OS: other
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: Misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: lupus@ximian.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: more interface related issues.
+
+Error:
+$ mcs iface4.cs
+.\iface4.cs(17) error CS239: `Derived1.Turn' : cannot override inherited
+member `Base.Turn' because it is sealed.
+.\iface4.cs(24) warning CS114: `Derived2.IVehicle.Start' hides inherited
+member `Base.IVehicle.Start'.  To make the current member override that
+implementation, add the override keyword, otherwise use the new keyword
+.\iface4.cs(28) error CS239: `Derived2.Turn' : cannot override inherited
+member `Base.Turn' because it is sealed.
+Error: Compilation failed
+
+The compilation fails on both linux and windows.