[Mono-bugs] [Bug 56127][Nor] Changed - Iterator compiles to invalid IL
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Sun, 28 Mar 2004 05:00:13 -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 sourcejedi@phonecoop.coop.
http://bugzilla.ximian.com/show_bug.cgi?id=56127
--- shadow/56127 2004-03-28 04:24:19.000000000 -0500
+++ shadow/56127.tmp.16216 2004-03-28 05:00:13.000000000 -0500
@@ -2,13 +2,13 @@
Product: Mono: Compilers
Version: unspecified
OS: All
OS Details:
Status: NEW
Resolution:
-Severity:
+Severity: Unknown
Priority: Normal
Component: C#
AssignedTo: mono-bugs@ximian.com
ReportedBy: sourcejedi@phonecoop.coop
QAContact: mono-bugs@ximian.com
TargetMilestone: ---
@@ -70,6 +70,20 @@
(program runs and finishes without outputing anything)
How often does this happen?
every time
+
+------- Additional Comments From sourcejedi@phonecoop.coop 2004-03-28 05:00 -------
+update:
+- the Condition property is unneccesary - you can replace
+"Condition" with "true" and you still get the same error.
+- the same happens if the Iterator method has a return type of
+IEnumerator (and the loop is adjusted accordingly)
+
+the error does not occur (and it works as expected) if mint is used
+to run test.exe instead of mono. Perhaps this is not a problem with
+the compiler? Please test with .NET (compiling with .NET, running
+on mono, compiling with mcs and running on .NET).
+
+