[Mono-bugs] [Bug 41881][Wis] New - A warning is shown when using protected in a sealed class
bugzilla-daemon@rocky.ximian.com
bugzilla-daemon@rocky.ximian.com
Thu, 24 Apr 2003 16:00:43 -0400 (EDT)
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 yoros@wanadoo.es.
http://bugzilla.ximian.com/show_bug.cgi?id=41881
--- shadow/41881 Thu Apr 24 16:00:43 2003
+++ shadow/41881.tmp.27462 Thu Apr 24 16:00:43 2003
@@ -0,0 +1,40 @@
+Bug#: 41881
+Product: Mono/MCS
+Version: unspecified
+OS:
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Wishlist
+Component: Misc
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: yoros@wanadoo.es
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: A warning is shown when using protected in a sealed class
+
+Description of Problem:
+ CSC shows a warning when the protected modifier is used in a sealed
+class, MCS doesn't show anything.
+
+Actual Results:
+ Compilation succeeded
+
+Expected Results:
+ warning CS0628: 'A.MetA()': nuevo miembro protegido declarado en una
+clase sealed
+ (sorry for the language)
+
+How often does this happen?
+ always
+
+Additional Information:
+ Here is a sample code:
+
+public sealed class A {
+ protected void MetA () {
+ }
+}