-
Notifications
You must be signed in to change notification settings - Fork 6k
Update nullable reference types for C# 10 #25883
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
Conversation
3fe91a8
to
d300336
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I love the way this is shaping, here is some earlier feedback.
Apply suggestions from code review Co-authored-by: David Pine <david.pine@microsoft.com> final edit
b569f6c
to
8d6a0da
Compare
Provide a more detailed description and recommendations on using the different settings for annotations and warnings in a nullable context.
8d6a0da
to
26a0421
Compare
Fix descriptions of the warnings and annotations settings for nullable contexts.
be619a6
to
d2bdacb
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, had some suggestions and questions. Otherwise feel free to
Co-authored-by: David Pine <david.pine@microsoft.com>
@BillWagner I think this introduced some bad lint. |
There are a number of changes here:
First two commits: I reworked the conceptual article to focus on the compiler's static analysis instead of the addition of nullable reference types as a type. That addresses many of the misconceptions that led to the various issues fixed in this PR.
Fixes #21716
<nullable>enable</nullable>
on by default.Third commit:
Fixes #24257
Fourth commit
Fixes #25027
Internal preview - nullable overview