Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on
GitHub to continue tracking issues. Bugzilla will remain
available for reference in read-only mode. We will continue to work
on open Bugzilla bugs, copy them to the new locations
as needed for follow-up, and add the new items under Related
Our sincere thanks to everyone who has contributed on this bug
tracker over the years. Thanks also for your understanding as we
make these adjustments and improvements for the future.
Please create a new report on
GitHub or Developer Community with
your current version information, steps to reproduce, and relevant error
messages or log files if you are hitting an issue that looks similar to
this resolved bug and you do not yet see a matching new report.
Created attachment 1744 [details]
Here the .NET compiler handles it just fine, but not the mono compiler
Hi there, there seems to be a problem with coroutine compilation (yield return methods) when messing with local variables and lambdas. This is quite a problem when adding lambdas to a collection of events inside a coroutine ...
The .NET compiler handles it just fine.
The bugs seems to happen in 2.10.8 and 2.6.3 (discovered it while using Unity3D)...
A temporary workaround I found is to extract all the lambda stuff out of the coroutine inside a method and call it from the coroutine ... ugly, but works.
Thanks for your troubles fixing that :)
Fixed in master
master is what is https://github.com/mono/mono
Mono 2.11.1 was cut on Apr 20