Clarify FixedAddressValueTypeAttribute applicability and static field storage wording#12770
Open
Copilot wants to merge 3 commits into
Open
Clarify FixedAddressValueTypeAttribute applicability and static field storage wording#12770Copilot wants to merge 3 commits into
FixedAddressValueTypeAttribute applicability and static field storage wording#12770Copilot wants to merge 3 commits into
Conversation
Copilot
AI
changed the title
Update FixedAddressValueTypeAttribute docs based on runtime feedback
Clarify Jun 21, 2026
FixedAddressValueTypeAttribute applicability and static field storage wording
Copilot created this pull request from a session on behalf of
jkotas
June 21, 2026 13:44
View session
jkotas
reviewed
Jun 21, 2026
jkotas
approved these changes
Jun 21, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the ECMA XML documentation for System.Runtime.CompilerServices.FixedAddressValueTypeAttribute to better reflect the attribute’s actual applicability and to avoid overstating an implementation detail about static field storage.
Changes:
- Clarifies that
FixedAddressValueTypeAttributeapplies to static value type fields, and that it doesn’t apply to primitive value type fields or enum fields. - Rewords the remarks about static field storage to reflect that storage can be on the GC heap, which allows addresses to change during garbage collection.
… heap', use 'field' consistently
jkotas
approved these changes
Jun 21, 2026
AaronRobinsonMSFT
approved these changes
Jun 21, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR updates
FixedAddressValueTypeAttributedocumentation to align with runtime feedback on attribute applicability. It also replaces an implementation-detail statement with wording that better reflects actual static field storage behavior.Applicability clarification
Remarks wording update
Updated doc text (excerpt)