[Mono-bugs] [Bug 45649][Nor] New - "sealed" attribute on classes not enforced
bugzilla-daemon@rocky.ximian.com
bugzilla-daemon@rocky.ximian.com
Mon, 30 Jun 2003 15:35:42 -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 sebastian.nowozin@web.de.
http://bugzilla.ximian.com/show_bug.cgi?id=45649
--- shadow/45649 Mon Jun 30 15:35:41 2003
+++ shadow/45649.tmp.9200 Mon Jun 30 15:35:42 2003
@@ -0,0 +1,40 @@
+Bug#: 45649
+Product: Mono/MCS
+Version: unspecified
+OS:
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: Misc
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: sebastian.nowozin@web.de
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: "sealed" attribute on classes not enforced
+
+Description of Problem:
+
+The "sealed" attribute on a public class is not enforced during
+compilation, and it is possible to build derived classes from sealed ones.
+
+Steps to reproduce the problem:
+1. mcs test1.cs
+
+Actual Results:
+Compilation succeeded
+
+Expected Results:
+error CSxxxx: Cannot derive from sealed classes.
+
+How often does this happen?
+
+Reproducable, everytime.
+
+
+Additional Information:
+
+MS csc does bail out.