[Mono-bugs] [Bug 29435][Maj] Changed - Reporting wrong error when accessing private fields of a base class

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
27 Aug 2002 23:36:51 -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=29435

--- shadow/29435	Tue Aug 27 17:19:14 2002
+++ shadow/29435.tmp.19955	Tue Aug 27 19:36:51 2002
@@ -11,13 +11,13 @@
 AssignedTo: martin@gnome.org                            
 ReportedBy: gonzalo@ximian.com               
 QAContact: mono-bugs@ximian.com
 TargetMilestone: ---
 URL: 
 Cc: 
-Summary: Derived classes can use private fields of base classes
+Summary: Reporting wrong error when accessing private fields of a base class
 
 Steps to reproduce the problem:
 1. compile this:
 using System;
 
 class A
@@ -41,7 +41,12 @@
 Expected Results:
 newbug.cs(14,7): error CS0122: 'A.integer' is inaccessible due to its
 protection level
 
 ------- Additional Comments From martin@gnome.org  2002-08-27 17:19 -------
 Oh, so this problem also exists for fields.  Already realized it for properties in the debugger module.
+
+
+------- Additional Comments From martin@gnome.org  2002-08-27 19:36 -------
+It's no longer possible to access the private fields, but MCS reports a wrong error message.
+Still working on it, needed to do it in two steps.