[Mono-bugs] [Bug 32742][Nor] Changed - mcs fails to check access for properties

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
23 Oct 2002 17:30:47 -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 gonzalo@ximian.com.


--- shadow/32742	Wed Oct 23 13:29:27 2002
+++ shadow/32742.tmp.17234	Wed Oct 23 13:30:47 2002
@@ -38,6 +38,11 @@
 mcs should compiles it, but should issue an error:
 prop.cs(15,3): error CS0122: 'A.prop' is inaccessible due to its protection
 i'm gonna attach another test case that should give the same error, but
 instead it bails out with a NullReferenceException.
+------- Additional Comments From gonzalo@ximian.com  2002-10-23 13:30 -------
+Created an attachment (id=2628)
+This should fail to compile, but instead produces a NullReferenceException