Skip to content

Switch MoveNext to foreach #17409

Closed

Description

@Youssef1313

I think this pattern is not relevant anymore. It was when Wasm were not handling try/catch and it was causing a lot of overhead.

Originally posted by @carldebilly in #17403 (comment)

Activity

  1. Youssef1313 commented on Jul 7, 2024

    @Youssef1313
    MemberAuthor

    @jeromelaban As dotnet/runtime#56309 was fixed in .NET 7.0, I think we could remove all these workarounds. What do you think?

  2. jeromelaban commented on Jul 8, 2024

    @jeromelaban
    Member

    It's not completely removed, unfortunately, some parts of the finally may still cause fallback to the interpreter.

  3. Youssef1313 commented on Jul 8, 2024

    @Youssef1313
    MemberAuthor

    @jeromelaban Is it an issue on Microsoft side? Or is it by-design?

  4. jeromelaban commented on Jul 8, 2024

    @jeromelaban
    Member

    I think it's an issue on Microsoft's runtime side, but I don't have specific up-to-date information about it, we should try again.

  5. github-actions commented on Aug 23, 2025

    @github-actions
    Contributor

    Hey there — just a heads-up that this issue has been quiet for over a year. If there’s no update or comment in the next 10 days, it’ll be closed automatically. Feel free to remove the stale label or drop a note to keep it open.

  6. added
    stale
    on Aug 23, 2025
  7. removed
    stale
    on Aug 25, 2025
  8. github-actions commented on May 5, 2026

    @github-actions
    Contributor

    This issue has had no activity for 120 days. It will be closed in 10 days if there is no further activity. Remove the Stale label or leave a comment to keep it open.

  9. added
    stale
    on May 5, 2026
  10. removed
    stale
    on May 5, 2026
  11. linked a pull request that will close this issuefeat: Switch MoveNext to foreach #23199on May 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions