Skip to content

Revert "[RuntimeAsync] ilasm/ildasm support for the MethodImpl.Async" #115621

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 15, 2025

Conversation

jkotas
Copy link
Member

@jkotas jkotas commented May 15, 2025

Reverts #115332

@Copilot Copilot AI review requested due to automatic review settings May 15, 2025 16:59
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR reverts the previously added support for the async MethodImpl attribute in both ilasm and ildasm, restoring the prior state before #115332.

  • Removes async keyword definition from il_kywd.h
  • Stops emitting async in ildasm output
  • Deletes async parsing rules from the ilasm grammar

Reviewed Changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.

File Description
src/coreclr/inc/il_kywd.h Removed KYWD("async", ASYNC_, NO_VALUE) entry
src/coreclr/ildasm/dasm.cpp Removed IsMiAsync emission for " async"
src/coreclr/ilasm/prebuilt/asmparse.grammar Removed async from implAttr alternatives
src/coreclr/ilasm/asmparse.y Deleted ASYNC_ token and its grammar branch

Copy link
Contributor

Tagging subscribers to this area: @JulieLeeMSFT
See info in area-owners.md if you want to be subscribed.

@jkotas jkotas merged commit 80c9f51 into main May 15, 2025
111 of 113 checks passed
@jkotas jkotas deleted the revert-115332-async2-ilasm branch May 15, 2025 20:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants