2005-06-04 Martin Baulig <martin@ximian.com>
authorMartin Baulig <martin@novell.com>
Sat, 4 Jun 2005 06:35:03 +0000 (06:35 -0000)
committerMartin Baulig <martin@novell.com>
Sat, 4 Jun 2005 06:35:03 +0000 (06:35 -0000)
commitf37e4aca69af051fe95167d762f2d85604859ed8
tree4ac236091927f7dc736771bddcb15cc7a2ec764d
parent161fa065b392e565918bb3b4135bce5aaac51efb
2005-06-04  Martin Baulig  <martin@ximian.com>

The big Foreach rewrite - Part II.

* typemanager.cs (TypeManager.object_getcurrent_void): Replaced
with `PropertyInfo ienumerator_getcurrent'.

* codegen.cs (VariableStorage): Removed.

* statement.cs
(Foreach): Derive from Statement, not ExceptionStatement.
(Foreach.CollectionForeach): New nested class.  Moved all the code
dealing with collection foreach here.
(Foreach.ForeachHelperMethods): Removed.
(Foreach.TemporaryVariable): Implement IMemoryLocation.

svn path=/trunk/mcs/; revision=45395
mcs/gmcs/ChangeLog
mcs/gmcs/codegen.cs
mcs/gmcs/statement.cs
mcs/gmcs/typemanager.cs