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

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
Sat, 15 Feb 2003 13:41:30 -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 miguel@ximian.com.

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

--- shadow/38061	Thu Feb 13 23:46:52 2003
+++ shadow/38061.tmp.22906	Sat Feb 15 13:41:30 2003
@@ -5,19 +5,19 @@
 OS Details: 
 Status: NEW   
 Resolution: 
 Severity: Unknown
 Priority: Wishlist
 Component: Misc
-AssignedTo: mono-bugs@ximian.com                            
+AssignedTo: ravi@ximian.com                            
 ReportedBy: mathpup@mylinuxisp.com               
 QAContact: mono-bugs@ximian.com
 TargetMilestone: ---
 URL: 
 Cc: 
-Summary: mono fails to throw an exception in String.Format
+Summary: Function resoltion picks wrong method
 
 Description of Problem: 
  
 According to ECMA, String.Format(string format, object arg0) should throw an 
 exception if arg0 is null. Mono does not throw an exception in this case, but .NET 
 does. (Surprisingly, Rotor does not.) 
@@ -58,6 +58,12 @@
 patch
 
 
 ------- Additional Comments From gonzalo@ximian.com  2003-02-13 23:46 -------
 The problem is that mcs chooses String.Format (string format, object
 arg) and csc chooses (string format, object [] args).
+
+------- Additional Comments From miguel@ximian.com  2003-02-15 13:41 -------
+I am renaming this bug, and assigning it to Ravi.
+
+Ravi, I believe that this is a bug in the overload resolution process,
+could you take a look at it?