[Mono-bugs] [Bug 77221][Maj] Changed - MCS generates wrong code for calling a value type method.

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Thu Jan 12 08:48:47 EST 2006


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 rharinath at novell.com.

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

--- shadow/77221	2006-01-12 07:02:15.000000000 -0500
+++ shadow/77221.tmp.11348	2006-01-12 08:48:47.000000000 -0500
@@ -1,14 +1,14 @@
 Bug#: 77221
 Product: Mono: Compilers
 Version: 1.1
-OS: 
+OS: unknown
 OS Details: 
-Status: NEW   
+Status: ASSIGNED   
 Resolution: 
-Severity: 
+Severity: Unknown
 Priority: Major
 Component: C#
 AssignedTo: rharinath at novell.com                            
 ReportedBy: lluis at ximian.com               
 QAContact: mono-bugs at ximian.com
 TargetMilestone: ---
@@ -46,6 +46,15 @@
         IL_0021:  ldloc.1
         IL_0022:  box [mscorlib]System.Char
         IL_0027:  call instance string object::ToString()
 
 Since the result of 'box' is of type System.Object, shouldn't IL_0027 be a
 callvirt?
+
+------- Additional Comments From rharinath at novell.com  2006-01-12 08:48 -------
+With CSC, and the stable MCS 1.1.13, it emits
+
+        IL_0023:  call instance string char::ToString()
+
+So, this probably has to do with the overloading changes for bug
+75636.  Lemme try to see what's going on.
+


More information about the mono-bugs mailing list