[Mono-bugs] [Bug 50572][Wis] New - Access modifiers illegal on explicit interface implementations
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Tue, 4 Nov 2003 20:08:33 -0500 (EST)
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 bmaurer@users.sf.net.
http://bugzilla.ximian.com/show_bug.cgi?id=50572
--- shadow/50572 2003-11-04 20:08:33.000000000 -0500
+++ shadow/50572.tmp.27643 2003-11-04 20:08:33.000000000 -0500
@@ -0,0 +1,39 @@
+Bug#: 50572
+Product: Mono/MCS
+Version: unspecified
+OS:
+OS Details:
+Status: NEW
+Resolution:
+Severity: Unknown
+Priority: Wishlist
+Component: Misc
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: bmaurer@users.sf.net
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: Access modifiers illegal on explicit interface implementations
+
+Description of Problem:
+According to the spec, 20.4.1:
+
+"It is a compile-time error for an explicit interface member implementation
+to include access modifiers and it is a compile-time error to include the
+modifiers abstract, virtual, override, or static"
+
+class lala : la {
+ static void Main () {}
+ private void la.foo () {}
+}
+
+interface la {
+ void foo ();
+}
+
+Actual Results:
+mcs t.cs works
+
+Expected Results:
+"The modifier 'private' is not valid for this item"