[Mono-bugs] [Bug 21647] New - Overload resolution problem with null.
9 Mar 2002 11:19:40 -0000
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@example.com.
--- shadow/21647 Sat Mar 9 06:19:40 2002
+++ shadow/21647.tmp.1131 Sat Mar 9 06:19:40 2002
@@ -0,0 +1,27 @@
+Summary: Overload resolution problem with null.
+This problem manifested itself when compiling mcs on Linux: When DefineType
+(in interfaces.cs) is called with null as parent, the overload mechanism
+seems to choose the worng method as best and the resolution fails: this
+basically happens when a null is given instead of an actual object
+reference. I wrote a small test that fails in windows, too (though the
+original interfaces.cs code compiles, it may have been by chance, because I
+noted that the order of the methods returned to FindMembers may be
+different with our corlib: on windows the right method happened to come