[Mono-bugs] [Bug 76009][Wis] Changed - Using yield produces classes
with duplicate field names.
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Wed Sep 7 08:51:16 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 eyala at mainsoft.com.
http://bugzilla.ximian.com/show_bug.cgi?id=76009
--- shadow/76009 2005-09-07 08:48:22.000000000 -0400
+++ shadow/76009.tmp.23422 2005-09-07 08:51:16.000000000 -0400
@@ -23,6 +23,11 @@
It appears that the algorithm simply adds a field for every local variable
using the local variable name. If a name is used for a local variable more
then once then several fields using the same name will be created.
Using the attached program, once compiled into a DLL you can see using
ildasm that '<ff>__' has two fields call 'i'. Trying to ilasm the code
generated by ildasm will fail.
+
+------- Additional Comments From eyala at mainsoft.com 2005-09-07 08:51 -------
+Created an attachment (id=15703)
+C# test sample
+
More information about the mono-bugs
mailing list