[Mono-bugs] [Bug 72717][Wis] New - wrong error emitted by mcs
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Fri, 18 Feb 2005 06:25:47 -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 projectmonokochi@rediffmail.com.
http://bugzilla.ximian.com/show_bug.cgi?id=72717
--- shadow/72717 2005-02-18 06:25:47.000000000 -0500
+++ shadow/72717.tmp.16462 2005-02-18 06:25:47.000000000 -0500
@@ -0,0 +1,54 @@
+Bug#: 72717
+Product: Mono: Compilers
+Version: unspecified
+OS: SUSE 9.1
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Wishlist
+Component: C#
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: projectmonokochi@rediffmail.com
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: wrong error emitted by mcs
+
+Please fill in this template when reporting a bug, unless you know what
+you are doing.
+Description of Problem:
+mcs emitting error cs0112 while csc emits cs1501
+
+
+namespace Foo
+{
+ class A
+ {
+ private A (int a)
+ { }
+ }
+
+ class T : A
+ {
+ }
+}
+
+
+Steps to reproduce the problem:
+1. compile the program using mcs
+2.
+3.
+
+Actual Results:
+CS0112: `Foo.A.A' is inaccessible due to its protection level
+
+
+Expected Results:
+CS1501: No overload for method 'A' takes '0' arguments
+
+How often does this happen?
+always
+
+Additional Information: