[Mono-bugs] [Bug 349078] New: [PATCH] GetPropertiesByName should not return private methods of parent

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sun Dec 16 05:24:16 EST 2007


https://bugzilla.novell.com/show_bug.cgi?id=349078


           Summary: [PATCH] GetPropertiesByName should not return private
                    methods of parent
           Product: Mono: Runtime
           Version: SVN
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: misc
        AssignedTo: mono-bugs at ximian.com
        ReportedBy: gert.driesen at pandora.be
         QAContact: mono-bugs at ximian.com
          Found By: ---


Type.GetProperties and Type.GetProperty, which are implemented by the
ves_icall_Type_GetPropertiesByName icall, should not private methods of the
parent class if BindingFlags.NonPublic is set.

Also, it should only return internal methods of the parent class on the 2.0
profile (if BindingFlags.NonPublic is set).

I've attached a full standalone test for Type.GetProperty and
Type.GetProperties that clearly demonstrates this issue.


-- 
Configure bugmail: https://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