[Mono-bugs] [Bug 46088][Nor] Changed - Nested class can access private members of base class of enclosing class
bugzilla-daemon@rocky.ximian.com
bugzilla-daemon@rocky.ximian.com
Thu, 10 Jul 2003 16:24:41 -0400 (EDT)
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 sestoft@dina.kvl.dk.
http://bugzilla.ximian.com/show_bug.cgi?id=46088
--- shadow/46088 Thu Jul 10 12:18:11 2003
+++ shadow/46088.tmp.6571 Thu Jul 10 16:24:41 2003
@@ -61,6 +61,11 @@
MS csc 1.1 rejects this access.
------- Additional Comments From bmaurer@users.sf.net 2003-07-10 12:18 -------
I would assume the 1.1 rt throws an error when you try to run the mcs
compiled file. Do we do the same? if not, this is also an error in
Mono/Runtime.
+
+------- Additional Comments From sestoft@dina.kvl.dk 2003-07-10 16:24 -------
+Yes, MS CLR 1.1 rejects the bytecode generated by mcs 0.23 for this
+program (throwing FieldAccessException: B.bz) while mono 0.23 accepts
+the bytecode.