[Mono-bugs] [Bug 38061][Wis] Changed - Function resolution picks wrong method

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
Thu, 27 Feb 2003 23:35:27 -0500 (EST)


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 mathpup@mylinuxisp.com.

http://bugzilla.ximian.com/show_bug.cgi?id=38061

--- shadow/38061	Thu Feb 27 15:28:26 2003
+++ shadow/38061.tmp.30995	Thu Feb 27 23:35:26 2003
@@ -76,6 +76,56 @@
 seems even MS' behaviour is inconsistent [.NET and Rotor] so till this
 is resolved, I am changing the status to NEEDINFO.
 
 ------- Additional Comments From ravi@ximian.com  2003-02-27 15:28 -------
 Could you please run monodis on the rotor generated exe and post the
 output here ? Thanks.
+
+------- Additional Comments From mathpup@mylinuxisp.com  2003-02-27 23:35 -------
+.assembly extern mscorlib 
+{ 
+  .ver 1:0:3300:0 
+} 
+.assembly 'format2' 
+{ 
+  .custom instance void class 
+[corlib]System.Diagnostics.DebuggableAttribute::.ctor(bool, bool) =  (01 00 
+00 01 00 00 ) // ...... 
+ 
+  .hash algorithm 0x00008004 
+  .ver  0:0:0:0 
+} 
+  .class public auto ansi beforefieldinit Testing 
+  	extends [mscorlib]System.Object 
+  { 
+ 
+    // method line 1 
+    .method public static  hidebysig  
+           default void Main()  cil managed  
+    { 
+        // Method begins at RVA 0x2050 
+	.entrypoint 
+	// Code size 13 (0xd) 
+	.maxstack 2 
+	IL_0000: ldstr "{0}" 
+	IL_0005: ldnull  
+	IL_0006: call string valuetype [corlib]System.String::Format(string, 
+object[]) 
+	IL_000b: pop  
+	IL_000c: ret  
+    } // end of method default void Main()  
+ 
+    // method line 2 
+    .method public hidebysig  specialname  rtspecialname  
+           instance default void .ctor()  cil managed  
+    { 
+        // Method begins at RVA 0x206c 
+	// Code size 7 (0x7) 
+	.maxstack 1 
+	IL_0000: ldarg.0  
+	IL_0001: call instance void valuetype [corlib]System.Object::.ctor() 
+	IL_0006: ret  
+    } // end of method instance default void .ctor()  
+ 
+  } // end of type Testing 
+ 
+