tonerdo / pose

Replace any .NET method (including static and non-virtual) with a delegate
MIT License
1.07k stars 75 forks source link

Can not escape isolation for foreach loop getenum,movenext #39

Open Tarig0 opened 5 years ago

Tarig0 commented 5 years ago

Trying to keep the isolation context through a foreach loop and having issue where I have to forward the getenumerator function but then the MoveNext function says collection was modified

The underlying type for the original collection is List() with a single object in it.