[Mono-bugs] [Bug 60730][Nor] New - Member access from a nested class member allowed
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Fri, 25 Jun 2004 01:19:01 -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 mkestner@ximian.com.
http://bugzilla.ximian.com/show_bug.cgi?id=60730
--- shadow/60730 2004-06-25 01:19:01.000000000 -0400
+++ shadow/60730.tmp.4145 2004-06-25 01:19:01.000000000 -0400
@@ -0,0 +1,22 @@
+Bug#: 60730
+Product: Mono: Compilers
+Version: unspecified
+OS:
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: C#
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: mkestner@ximian.com
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: Member access from a nested class member allowed
+
+The attached test case should error out because the method Bar accesses a
+member of B without an instance. If you uncomment the similar access on
+Main, the error is reported properly, but apparently superclass members are
+fair game in mcs-land.