mono/mono — pull request #444 by knocte (2012-08-22 23:10:40+00:00)
Title: MSBuild.Engine: use a buildtask enumerator that throws exceptions

InvalidOperationExceptions were not being thrown when asking for the
Current element if the enumerator had finished (or not started)
iterating.