[Mono-bugs] [Bug 24188] New - Incorrect warning when shadowing a child class's members

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
3 May 2002 17:23:08 -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 joe@ximian.com.

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

--- shadow/24188	Fri May  3 13:23:08 2002
+++ shadow/24188.tmp.9405	Fri May  3 13:23:08 2002
@@ -0,0 +1,26 @@
+Bug#: 24188
+Product: Mono/MCS
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Minor
+Component: Misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: joe@ximian.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Incorrect warning when shadowing a child class's members
+
+When building the attached test case, mcs gives me the following warning:
+
+caedes:/cvs/mono/gtk-sharp$ mcs -o test.exe test3.cs
+./test3.cs(9) warning CS0108: The keyword new is required on `B.Signals'
+because it hides `A.Signals'
+RESULT: 0
+
+However, the "new" keyword is being used.  csc doesn't give this warning.