---
title: "Discussion on \"Decompiling yield return: rebuilding iterator blocks from IL\" | Hashnode"
description: "Discussion on \"Decompiling yield return: rebuilding iterator blocks from IL\". yield return is the quiet sibling of async/await. Both compile to a state machine; both replace the method you wrote with a generated class and an integer-driven MoveNext. But iterators came first — t"
url: "https://hashnode.com/posts/decompiling-yield-return-rebuilding-iterator-blocks-from-il/6af32798af2c2da7055bf4eb"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Decompiling yield return: rebuilding iterator blocks from IL](https://delta1labs.hashnode.dev/decompiling-yield-return-rebuilding-iterator-blocks-from-il?utm_source=hashnode&utm_medium=feed)

yield return is the quiet sibling of async/await. Both compile to a state machine; both replace the method you wrote with a generated class and an integer-driven MoveNext. But iterators came first — t

1d ago · 7 min read · delta1labs.hashnode.dev  
Updated 1h ago  
Read the article

-   [#deepdive](https://hashnode.com/tag/deepdive)
-   [#glassnet](https://hashnode.com/tag/glassnet)
-   [#decompilation](https://hashnode.com/tag/decompilation)

## Written by

[Zero Heartbeat](https://hashnode.com/@clustron)

@clustron

  
[View profile](https://hashnode.com/@clustron)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
