[Mono-bugs] [Bug 75689][Nor] Changed - another anonymous delegate/foreach bug

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Mon Aug 29 11:57:29 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 atsushi at ximian.com.

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

--- shadow/75689	2005-08-29 11:19:01.000000000 -0400
+++ shadow/75689.tmp.7353	2005-08-29 11:57:29.000000000 -0400
@@ -78,6 +78,16 @@
 
 But in that case, the sense of the bug is just reversed; if you
 comment out the line "Console.WriteLine (msg);", then it
 *incorrectly* captures four separate copies of "foo" rather than
 correctly capturing only a single instance of it.
 
+
+------- Additional Comments From atsushi at ximian.com  2005-08-29 11:57 -------
+Yes. Also, when I commented out Console.WriteLine(), the executable
+from gmcs caused MethodAccessException.
+
+Unhandled Exception: System.MethodAccessException:
+<>AnonHelp<0>.<#AnonymousMethod>0()
+   at AnonDelegateTest.Setup(String msg)
+   at AnonDelegateTest.Main()
+


More information about the mono-bugs mailing list