[Mono-bugs] [Bug 34823][Nor] New - mcs doesn't report errors of type CS0054
bugzilla-daemon@rocky.ximian.com
bugzilla-daemon@rocky.ximian.com
1 Dec 2002 19:00:57 -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 bugbuddy-import@ximian.com.
http://bugzilla.ximian.com/show_bug.cgi?id=34823
--- shadow/34823 Sun Dec 1 14:00:57 2002
+++ shadow/34823.tmp.4672 Sun Dec 1 14:00:57 2002
@@ -0,0 +1,64 @@
+Bug#: 34823
+Product: Mono/MCS
+Version: unspecified
+OS: GNU/Linux [Other]
+OS Details:
+Status: UNCONFIRMED
+Resolution:
+Severity: Unknown
+Priority: Normal
+Component: Misc
+AssignedTo: triage@ximian.com
+ReportedBy: jaimemonkey@yahoo.es
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: mcs doesn't report errors of type CS0054
+
+Package: Mono/MCS
+Priority: Normal
+Version: CVS 01-Dec-2002
+Synopsis: mcs doesn't report errors of type CS0054
+Bugzilla-Product: Mono/MCS
+Bugzilla-Component: Misc
+
+Description:
+Description of Problem:
+
+mcs doesn't report errors of type CS0054. When a property is more
+accessible than the level of accessibility of the return type, it should
+complain of that.
+
+Steps to reproduce the problem:
+
+Try the mcs/errors/cs0054.cs test in the CVS. Here is its code:
+
+// cs0054.cs: Inconsistent accessibility. Indexer return type is less
+accessible than indexer.
+// Line:
+
+using System;
+
+class ErrorCS0054 {
+}
+
+class Foo {
+ ErrorCS0054[] errors;
+
+ public ErrorCS0054 this[int i] {
+ get { return new ErrorCS0054 (); }
+ }
+
+ public static void Main () {
+ }
+}
+
+
+
+
+
+Setting qa contact to the default for this product.
+ This bug either had no qa contact or an invalid one.
+
+