JustDecompileEngine icon indicating copy to clipboard operation
JustDecompileEngine copied to clipboard

await foreach -- new language feature (test case available)

Open goojal opened this issue 1 year ago • 0 comments

Compiler generates a different IAsyncStateMachine for await foreach to handle iteration on async enumerables. It contains a MoveNextAsync method beside MoveNext. So we can find this pattern by checking if this method exists and based on that transform the statements to await foreach.

goojal avatar Mar 07 '24 17:03 goojal