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 [EMAIL PROTECTED] http://bugzilla.ximian.com/show_bug.cgi?id=77079 --- shadow/77079 2005-12-22 20:28:46.000000000 -0500 +++ shadow/77079.tmp.23039 2005-12-22 20:28:46.000000000 -0500 @@ -0,0 +1,43 @@ +Bug#: 77079 +Product: Mono: Runtime +Version: 1.1 +OS: +OS Details: Fedora Core 4, latest updates +Status: NEW +Resolution: +Severity: +Priority: Normal +Component: misc +AssignedTo: [EMAIL PROTECTED] +ReportedBy: [EMAIL PROTECTED] +QAContact: [EMAIL PROTECTED] +TargetMilestone: --- +URL: +Cc: +Summary: InvokeMember fails to find correct overload + +Description of Problem: +Testcase follows. In certain cases, Mono fails to find the proper overload +of a method when invoked via System.Type.InvokeMember. + +Steps to reproduce the problem: +1. Create a class heirarchy three levels deep. + +class A {} +class B: A {} +class C: B {} + +2. Create a set of overloaded methods that take a parameter of the first +(A) and second (B) level, but not the third. +3. Invoke this method, via InvokeMember, with an instance of the third (C) +level. + +Actual Results: +A System.Reflection.AmbiguousMatchException is thrown. + + +Expected Results: +The overload for the second (B) class is called. + +How often does this happen? +Always. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
