http://bugzilla.novell.com/show_bug.cgi?id=574696
http://bugzilla.novell.com/show_bug.cgi?id=574696#c0 Summary: Type.GetMember returns private property of base class Classification: Mono Product: Mono: Runtime Version: SVN Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: misc AssignedTo: [email protected] ReportedBy: [email protected] QAContact: [email protected] Found By: --- Blocker: --- Consider the following two classes: class Base { private string Prop { get; set; } private string Method() { } ... } class Derived: Base { ... } Calling typeof(Derived).GetMember("Prop", BindingFlags.NonPublic | BindingFlags.Public | BindingFlags.Instance) returns the property of the base class. It works correctly for a method. Expected result: GetMember doesn't return the property. That's also the way NET behaves. This bug is related to bug #322762 -- 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. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
