-
Notifications
You must be signed in to change notification settings - Fork 5.3k
[STJ] Add support for nullable reference annotations on properties #102499
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
Merged
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
97a3275
Progress so far on nullability annotations
jozkee 650b53e
Complete implementation and make all NullableAnnotations tests pass.
eiriktsarpalis 12cb92e
Update annotations for all failing unit tests.
eiriktsarpalis c22a567
Update src/libraries/System.Text.Json/gen/Helpers/RoslynExtensions.cs
eiriktsarpalis 6be27d9
Update src/libraries/System.Text.Json/gen/Helpers/RoslynExtensions.cs
eiriktsarpalis 0be6dfe
Address feedback
eiriktsarpalis 1b0d954
Update to latest approved API and semantics.
eiriktsarpalis 3c74fb8
Update src/libraries/System.Private.CoreLib/src/System/Reflection/Nul…
eiriktsarpalis 3656b29
Update src/libraries/System.Private.CoreLib/src/System/Reflection/Nul…
eiriktsarpalis dcd54a9
Update src/libraries/System.Text.Json/gen/JsonSourceGenerator.Emitter.cs
eiriktsarpalis 080a353
Rename more ignoreNullableAnnotations stragglers.
eiriktsarpalis 56015c7
Update src/libraries/System.Text.Json/src/System/Text/Json/Serializat…
eiriktsarpalis f82556c
Remove commented out code and address feedback.
eiriktsarpalis 22dee5c
Update src/libraries/System.Text.Json/tests/System.Text.Json.SourceGe…
eiriktsarpalis 6530530
Ensure the original parameter name flows exception messages.
eiriktsarpalis 89e6cfd
Extract exceptions to a throw helper in the new properties.
eiriktsarpalis 1e4388f
Extend test coverage to Nullable<T> properties.
eiriktsarpalis e2a3791
Revert sln changes
eiriktsarpalis 4d63f59
Add second-pass review improvements.
eiriktsarpalis File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.