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=81466

--- shadow/81466        2007-08-08 13:20:07.000000000 -0400
+++ shadow/81466.tmp.15543      2007-08-17 05:39:42.000000000 -0400
@@ -236,6 +236,19 @@
 
 While I double checked that monodis (and therefore mono) see it
 as "call instance bool class [FaultTestLib]MainSpace.IB::Test()".
 
 So we are likely to resolve the method token badly...
 
+
+------- Additional Comments From [EMAIL PROTECTED]  2007-08-17 05:39 -------
+IMO, the cause of the bug is the following: in loader.c, there are
+two utility functions, "find_method" and "find_method_in_class".
+Inside "find_method", "find_method_in_class" is called also for each
+interface in "in_class->interfaces", but qname and fqname are not
+"adjusted" at every call (they are set once and for all at the
+beginning of "find_method").
+This makes so that "find_method" on "MainSpace.CD:Test" returns
+"MainSpace.IB:Test", which then is resolved to the "IB:Test"
+implementation inside TestImpl.
+So, we decode the metadata token correctly, but search in the
+MonoMethod arrays in the wrong way...
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to