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

Record deserialized non-primitive array before deserializing contents #7335

Merged
merged 1 commit into from
Oct 13, 2021

Conversation

ReubenBond
Copy link
Member

@ReubenBond ReubenBond commented Oct 11, 2021

This is a fix related to #7328. It does not fix the issue, but it fixes one symptom. See #7328 (comment)

The gist of the fix is to call context.RecordObject(array) prior to deserializing array contents, allowing arrays to be self-referential.

Microsoft Reviewers: Open in CodeFlow

@ReubenBond ReubenBond changed the title Record deserialized array before deserializing array contents for non-primitive arrays Record deserialized non-primitive array before deserializing contents Oct 11, 2021
@benjaminpetit benjaminpetit merged commit e148c7e into dotnet:3.x Oct 13, 2021
@ReubenBond ReubenBond deleted the fix/ilbasedserializer-7182 branch October 14, 2021 18:26
@github-actions github-actions bot locked and limited conversation to collaborators Dec 2, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants