Skip to content
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

[release/7.0-staging] [mono] Fix sorting custom attributes in ILStrip #88437

Merged

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Jul 5, 2023

Backport of #88435 to release/7.0-staging

/cc @akoeplinger

Customer Impact

This fixes #87933 which turned out to be subtly wrong.

Testing

Manual testing.

Risk

Low.

IMPORTANT: If this backport is for a servicing release, please verify that:

  • The PR target branch is release/X.0-staging, not release/X.0.

  • If the change touches code that ships in a NuGet package, you have added the necessary package authoring and gotten it explicitly reviewed.

The change in #87923 was subtly wrong, the problem is that RID on a Cecil metadata token masks out the token type.
We actually have to reconstruct the custom attribute coded-index.
@dotnet-issue-labeler dotnet-issue-labeler bot added the needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners label Jul 5, 2023
@akoeplinger akoeplinger added area-VM-meta-mono and removed needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners labels Jul 5, 2023
@akoeplinger akoeplinger added this to the 7.0.x milestone Jul 5, 2023
@akoeplinger akoeplinger added the Servicing-approved Approved for servicing release label Jul 5, 2023
@akoeplinger
Copy link
Member

Fix was already approved, setting the label.

@akoeplinger akoeplinger merged commit 671b932 into release/7.0-staging Jul 6, 2023
@akoeplinger akoeplinger deleted the backport/pr-88435-to-release/7.0-staging branch July 6, 2023 10:34
@radical radical mentioned this pull request Aug 3, 2023
@ghost ghost locked as resolved and limited conversation to collaborators Aug 5, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-VM-meta-mono Servicing-approved Approved for servicing release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants