-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Document nullable disable for generated code #33432
Document nullable disable for generated code #33432
Conversation
@@ -318,6 +318,27 @@ new C?(); // error | |||
new List<C?>(); // ok | |||
``` | |||
|
|||
## Generated code | |||
Older code generation strategies may not be nullable aware. | |||
Setting the project level nullable context to "enable" could result in many warnings that a user is unable to fix. |
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.
nit: project-level #Closed
## Generated code | ||
Older code generation strategies may not be nullable aware. | ||
Setting the project level nullable context to "enable" could result in many warnings that a user is unable to fix. | ||
To support this scenario any syntax tree that is determined to be generated will have its nullable state explicitly set to "disable", regardless of the overall project state. |
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.
implicitly? #Closed
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 with some nits. Thanks (iteration 1)
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 Thanks (iteration 2)
No description provided.