Skip to content

Conversation

davidwrighton
Copy link
Member

This does not eliminate all possible race conditions here, if a type is in progress loading when the metadata is updated, then there is still a race, but this should narrow the possible races in this space. Additionally, this should address the debug asserts which have been hit in this space.

Fixes #115318

…n adding fields/classes via ApplyMetadata

This does not eliminate all possible race conditions here, if a type is in progress loading when the metadata is updated, then there is still a race, but this should narrow the possible races in this space. Additionally, this should address the debug asserts which have been hit in this space.

Fixes dotnet#115318
@Copilot Copilot AI review requested due to automatic review settings August 11, 2025 21:12
Copy link
Contributor

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

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.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@kg
Copy link
Member

kg commented Aug 13, 2025

LGTM, let me know if you need a green check

@davidwrighton davidwrighton merged commit 56cb0eb into dotnet:main Aug 14, 2025
90 of 93 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Sep 14, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Test failure: System.Reflection.Metadata.ApplyUpdateTest.TestGenericAddStaticField
2 participants