Skip to content

Cover all nullable warnings - #30045

Merged
BillWagner merged 11 commits into
dotnet:mainfrom
BillWagner:cover-all-nullable-warnings
Jul 1, 2022
Merged

BillWagner merged 11 commits into
dotnet:mainfrom
BillWagner:cover-all-nullable-warnings

Conversation

@BillWagner

@BillWagner BillWagner commented Jun 29, 2022 •

Copy link
Copy Markdown
Member

Fixes #29691

This PR does the following:

  1. Add F1 and help viewer keywords for all C# compiler warnings enabled by #nullable warning (or enable).
  2. Add theCSnnnn and error message text for each warning message to increase SEO on the warnings and messages. (Note: this is why the bullet lists don't contain contractions. They match the compiler messages).
  3. Move this file to the compiler messages section, and add the CSnnnn keys to the displayName property.
  4. Add sections for any missing warnings that weren't covered.

Internal review link

- Add the list of warnings in each section.
- Update some examples.
- Add section that wasn't previously covered.
Remove the warnings covered by the nullable warning pages.
This jogged my memory and I also removed the warning keys for the warning wave article written a few months ago.
@BillWagner
BillWagner requested a review from adegeo June 30, 2022 16:57
@BillWagner
BillWagner marked this pull request as ready for review June 30, 2022 17:07
@BillWagner
BillWagner requested a review from a team as a code owner June 30, 2022 17:07
@BillWagner

Copy link
Copy Markdown
Member Author

@adegeo This is ready for review.

@BillWagner BillWagner added okr-freshness OKR: Freshness of content okr-experience okr-curation OKR: Curate content to remove outdated recommendations labels Jun 30, 2022

@adegeo adegeo left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved. Some minor things to consider/fix. Great job on this content!

BillWagner and others added 2 commits July 1, 2022 16:01
@BillWagner
BillWagner merged commit 8bce28a into dotnet:main Jul 1, 2022
@BillWagner
BillWagner deleted the cover-all-nullable-warnings branch July 1, 2022 20:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dotnet-csharp/svc errors-warnings/subsvc okr-curation OKR: Curate content to remove outdated recommendations okr-freshness OKR: Freshness of content

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Move page to compiler message section

3 participants