[Mono-bugs] [Bug 506882] Subclassing class with protected methods should allow access in IronPython

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon May 25 23:54:00 EDT 2009


User dblank at cs.brynmawr.edu added comment

--- Comment #4 from Doug Blank <dblank at cs.brynmawr.edu>  2009-05-25 21:53:59 MDT ---
The code that causes the exception to be raised is in:


        foreach (MethodInfo mi in Setter) {
            if(mi.IsStatic && DeclaringType != owner.UnderlyingSystemType) {
                return false;
            } else if (mi.IsFamily || mi.IsFamilyAndAssembly) {
PythonOps.TypeErrorForProtectedMember(owner.UnderlyingSystemType, _info.Name);

so it would appear that one of those flags is incorrect.

Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.

More information about the mono-bugs mailing list