Skip to content

Why does compiler emit async state machine for async methods with only synchronous code? #4088

Answered by YairHalberstadt
voroninp asked this question in Q&A
Discussion options

You must be logged in to vote

This has been discussed on roslyn at dotnet/roslyn#3659

In short, they would take this, but you would have to be careful to keep semantics exactly the same.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by YairHalberstadt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants