Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
MSBuild.Engine: use a buildtask enumerator that throws exceptions #444
Ankit, oh I think I realised what you were referring to. But the answer is no, there's no yield vs GetEnumerator difference here.
To demonstrate, I've run this TestFixture in both Mono and MS.NET and it passes in both:
So then, the usage of a normal yield in MSBuild is not right. The simple implementation of the enumerator of an array brings the enough checks for it to behave like MS.NET, so I think this patch is still right.