Skip to content

[mono] Don't access MonoClassField:parent directly #63081

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

Conversation

lambdageek
Copy link
Member

@lambdageek lambdageek commented Dec 22, 2021

Rename it to parent_ and add m_field_get_parent / m_field_set_parent accessors.

(The intention is to borrow the bottom bit of the pointer for an EnC metadata update flag)

No functional change in this PR

Rename it to parent_ and add m_field_get_parent / m_field_set_parent accessors.

(The intention is to borrow the bottom bit of the pointer for an EnC metadata
update flag)
@lambdageek lambdageek force-pushed the getter-for-mono-class-field-parent branch from 414a77e to 5cd4bb3 Compare January 3, 2022 15:03
@lambdageek lambdageek merged commit d34c0d6 into dotnet:main Jan 3, 2022
@ghost ghost locked as resolved and limited conversation to collaborators Feb 3, 2022
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.

2 participants