[Mono-bugs] [Bug 75691][Nor] Changed - [GMCS] System.Array.ForEach contains invalid IL

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue Sep 6 04:40:02 EDT 2005

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 lupus at ximian.com.


--- shadow/75691	2005-08-30 16:34:49.000000000 -0400
+++ shadow/75691.tmp.30650	2005-09-06 04:40:02.000000000 -0400
@@ -1,17 +1,17 @@
 Bug#: 75691
-Product: Mono: Runtime
-Version: 1.0
+Product: Mono: Compilers
+Version: 1.1
 OS: unknown
 OS Details: mono svn
 Status: NEW   
 Severity: Unknown
 Priority: Normal
-Component: misc
-AssignedTo: mono-bugs at ximian.com                            
+Component: C#
+AssignedTo: martin at ximian.com                            
 ReportedBy: nazgul at omega.pl               
 QAContact: mono-bugs at ximian.com
 TargetMilestone: ---
 Summary: [GMCS] System.Array.ForEach contains invalid IL
@@ -53,6 +53,11 @@
 Additional Information:
 ------- Additional Comments From atsushi at ximian.com  2005-08-30 16:34 -------
 It seems the same runtime error happens when I run the executable
 compiled with csc, while when I compile it with gmcs it does not
 complain under .net 2.0 beta2.
+------- Additional Comments From lupus at ximian.com  2005-09-06 04:40 -------
+It works on the ms runtime because what gmcs miscompiles is the
+ForEach method in corlib: for some reason it inserts a pop after the
+call to the Action invoke method which returns void.

More information about the mono-bugs mailing list