[Mono-bugs] [Bug 31889][Nor] Changed - mcs incorrectly allows accessing a protected property
11 Oct 2002 05:33:30 -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 firstname.lastname@example.org.
--- shadow/31889 Tue Oct 8 08:15:16 2002
+++ shadow/31889.tmp.2789 Fri Oct 11 01:33:30 2002
@@ -10,13 +10,12 @@
Summary: mcs incorrectly allows accessing a protected property
Steps to reproduce the problem:
1. Try compiling:
@@ -46,6 +45,17 @@
bugdata.cs(20,23): error CS0122: 'A.B.I' is inaccessible due to its
+------- Additional Comments From email@example.com 2002-10-11 01:33 -------
+Martin, I have tracked this down to a bug in FindMembers with the
+cache, and am not sure how to fix this. Basically, before we call the
+filter (on line 1214 in decl.cs) we should only do that if the
+BindingFlags permit it (we pass a flag: Public/NonPublic that we are
+currently ignoring). The rest is taken care of for us, but we should
+check this flag.
+It should be a short bug fix, can you look into this?