2004-04-15 Miguel de Icaza <miguel@ximian.com>
authorMiguel de Icaza <miguel@gnome.org>
Thu, 15 Apr 2004 04:18:51 +0000 (04:18 -0000)
committerMiguel de Icaza <miguel@gnome.org>
Thu, 15 Apr 2004 04:18:51 +0000 (04:18 -0000)
commit5a5223c62618da99bea3da6c3ebfa986eefe73bf
treeb19ba1deda927abc2f63203f6c9ac1ebdb382f60
parent36e6f962c775952eac49b7c47773f0d817180ae1
2004-04-15  Miguel de Icaza  <miguel@ximian.com>

* iterators.cs (MarkYield): track whether we are in an exception,
and generate code accordingly.  Use a temporary value to store the
result for our state.

I had ignored a bit the interaction of try/catch with iterators
since their behavior was not entirely obvious, but now it is
possible to verify that our behavior is the same as MS .NET 2.0

Fixes 54814

svn path=/trunk/mcs/; revision=25530
mcs/mcs/ChangeLog
mcs/mcs/iterators.cs