-
Notifications
You must be signed in to change notification settings - Fork 6k
Add guidance for configuring nullable context to fix CS8632, CS8636, CS8637 #47306
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
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.
Thanks @shethaadit
One small nit, and then this is ready.
docs/csharp/language-reference/compiler-messages/nullable-warnings.md
Outdated
Show resolved
Hide resolved
…ings.md Co-authored-by: Bill Wagner <[email protected]>
Thank you @BillWagner. I have applied the suggestion. :) |
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.
This LGTM, once I fix the markdown lint issue
docs/csharp/language-reference/compiler-messages/nullable-warnings.md
Outdated
Show resolved
Hide resolved
docs/csharp/language-reference/compiler-messages/nullable-warnings.md
Outdated
Show resolved
Hide resolved
docs/csharp/language-reference/compiler-messages/nullable-warnings.md
Outdated
Show resolved
Hide resolved
docs/csharp/language-reference/compiler-messages/nullable-warnings.md
Outdated
Show resolved
Hide resolved
Head branch was pushed to by a user without write access
Summary
This PR addresses issue #47305 by adding guidance to the "Configure nullable context" section in the nullable warnings documentation.
Changes Made
<Nullable>
element) and file-level (#nullable
directive) configuration optionsWhy These Changes Are Needed
The original documentation listed the nullable context configuration warnings (CS8632, CS8636, CS8637) but didn't provide clear guidance on how to fix them. This enhancement helps developers quickly understand and resolve these configuration issues.
Related Issue
Fixes #47305
Internal previews