[Mono-bugs] [Bug 22735] New - Should report permission missmatch on indexers.

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
29 Mar 2002 01:26:21 -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 miguel@ximian.com.

http://bugzilla.ximian.com/show_bug.cgi?id=22735

--- shadow/22735	Thu Mar 28 20:26:21 2002
+++ shadow/22735.tmp.7765	Thu Mar 28 20:26:21 2002
@@ -0,0 +1,37 @@
+Bug#: 22735
+Product: Mono/MCS
+Version: unspecified
+OS: other
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: Misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: miguel@ximian.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Should report permission missmatch on indexers.
+
+We currently do not report the 507 error on:
+
+abstract class A {
+        protected abstract int this [int a] { get; } 
+}
+
+class B : A {
+	public override int this [int a] { get { 
+
+			return 10;}  }
+	
+}
+
+class Test {
+        public static int Main ()
+	{
+		return 0;
+        }
+}