Skip to content

Get compiler generated types for async methods in source generator? #51377

Answered by jmarolf
acaly asked this question in Q&A
Discussion options

You must be logged in to vote

What you are asking for is to expose the "bound nodes" aka compiler generates implementation details. At this time they are not a part of the public API and we don't have any plans to really expose this. How the compiler generates a state machine for async/await is and implementation detail that could change in any future release.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by acaly
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