xoofx / xoofx.github.io

Repository of my blog
https://xoofx.github.io/
7 stars 1 forks source link

Generate automatically async/await code from sync code with Roslyn #4

Open xoofx opened 5 years ago

xoofx commented 5 years ago

Comments for Generate automatically async/await code from sync code with Roslyn

plkumar commented 4 years ago

Great article, this could come handy for migrating legacy .NET projects to take advantage of Async/Await, is there a code sample to play with?

xoofx commented 4 years ago

The only code sample available is from Scriban here generating ScribanAsync.generated.cs file.

NaimishSynoverge commented 3 years ago

Hello xoofx, Can you please help me in for below query.

  1. What is "ClassToTransform"
  2. What is "new MethodCallToTransform(callingMethodSymbol, callingMethod);"

Thanks Naimish