[Mono-bugs] [Bug 29484][Nor] Changed - MCS doesn't set `protected' or `private' attributes on constructors
bugzilla-daemon@rocky.ximian.com
bugzilla-daemon@rocky.ximian.com
28 Aug 2002 00:19:26 -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 martin@gnome.org.
http://bugzilla.ximian.com/show_bug.cgi?id=29484
--- shadow/29484 Tue Aug 27 17:17:50 2002
+++ shadow/29484.tmp.2621 Tue Aug 27 20:19:26 2002
@@ -11,13 +11,13 @@
AssignedTo: martin@gnome.org
ReportedBy: miguel@ximian.com
QAContact: mono-bugs@ximian.com
TargetMilestone: ---
URL:
Cc:
-Summary: Compiler allows protected constructors to be invoked
+Summary: MCS doesn't set `protected' or `private' attributes on constructors
The following program is compiled by MCS, but it should report an
error instead:
class X {
@@ -37,7 +37,11 @@
The error expected is:
a.cs(4,3): error CS0122: 'Y.Y()' is inaccessible due to its protection level
------- Additional Comments From martin@gnome.org 2002-08-27 17:17 -------
Please don't make a bug fix a wishlist item.
Setting priority back to normal.
+
+
+------- Additional Comments From martin@gnome.org 2002-08-27 20:19 -------
+The short summary was incorrect, look at the generated output.