Skip to content

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

Merged
akoeplinger merged 1 commit into
release/7.0-stagingfrom
backport/pr-88435-to-release/7.0-staging
Jul 6, 2023
Merged

[release/7.0-staging] [mono] Fix sorting custom attributes in ILStrip#88437
akoeplinger merged 1 commit into
release/7.0-stagingfrom
backport/pr-88435-to-release/7.0-staging

Conversation

@github-actions

@github-actionsgithub-actionsBot commented Jul 5, 2023

Copy link
Copy Markdown
Contributor

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.
@ghostghost added the needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners label Jul 5, 2023
@akoeplingerakoeplinger 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
@akoeplingerakoeplinger added this to the 7.0.x milestone Jul 5, 2023
@akoeplingerakoeplinger added the Servicing-approved Approved for servicing release label Jul 5, 2023
@akoeplinger

Copy link
Copy Markdown
Member

Fix was already approved, setting the label.

@akoeplinger
akoeplinger merged commit 671b932 into release/7.0-stagingJul 6, 2023
@akoeplinger
akoeplinger deleted the backport/pr-88435-to-release/7.0-staging branch July 6, 2023 10:34
@radicalradical mentioned this pull request Aug 3, 2023
@ghostghost locked as resolved and limited conversation to collaborators Aug 5, 2023
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-VM-meta-monoServicing-approvedApproved for servicing release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@akoeplinger@lambdageek