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

[System.Text.Json] Improve error handling of ref structs, including collection types with ref struct elements. #106083

Merged
merged 4 commits into from
Aug 12, 2024

Conversation

eiriktsarpalis
Copy link
Member

Fix #98590

* Add detection for collections with ref struct elements.
@eiriktsarpalis eiriktsarpalis changed the title STJ-SG: tolerate ref struct members with JsonIgnore. [System.Text.Json] Improve error handling of ref structs, including collection types with ref struct elements. Aug 9, 2024
@eiriktsarpalis eiriktsarpalis added the source-generator Indicates an issue with a source generator feature label Aug 9, 2024
@eiriktsarpalis eiriktsarpalis merged commit c1ab6c5 into dotnet:main Aug 12, 2024
82 of 85 checks passed
@eiriktsarpalis eiriktsarpalis deleted the fix/stj-sg-ignored-span branch August 12, 2024 08:20
@github-actions github-actions bot locked and limited conversation to collaborators Sep 11, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-System.Text.Json source-generator Indicates an issue with a source generator feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

System.Text.Json source generator doesn't handle ReadOnlySpan<T> properties correctly
3 participants