Skip to content

Documentation updates for compiler warnings. #13083

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 2 commits into from
Mar 7, 2025

Conversation

Tanya-Solyanik
Copy link
Member

@Tanya-Solyanik Tanya-Solyanik commented Mar 6, 2025

We had published documentation for analyzers shipped in NET9 - https://learn.microsoft.com/dotnet/desktop/winforms/compiler-messages/wfo0002
list-of-diagnostics file contains full list of the compiler warnings and errors, obsoletions, experimental features and diagnostics reported by our analyzers. This will help picking up the next number when adding a new ID. I also added notes on the updated documentation steps.
Our local analyzer help files are duplicating information from the "learn" site, but they are useful for analyzers that are shipped in preview and not yet documented. I updated these files with newer links, added missing analyzer and removed one that was duplicated in 3 files, assuming that the "learn" site is the main source of information for the users.
One of the analyzer error messages is updated to follow the common format - emphasize API name with ticks.
Removed unused diagnostic ID
Updated AnalyzerReleases files with correct history of when analyzers were shipped and the newly published documentation links

Microsoft Reviewers: Open in CodeFlow

We had published documentation for analyzers shipped in NET9 - https://learn.microsoft.com/en-us/dotnet/desktop/winforms/compiler-messages/wfo0002?view=netdesktop-9.0
list-of-diagnostics file contains full list of the compiler warnings and errors, obsoletions, experimental features and diagnostics reported by our analyzers. This will help picking up the next number when adding a new ID. I also added notes on the updated documentation steps.
Our local analyzer help files are duplicating information from the "learn" site, but they are useful for analyzers that are shipped in preview and not yet documented. I updated these files with newer links, added missing analyzer and removed one that was duplicated in 3 files, assuming that the "learn" site is the main source of information for the users.
One of the analyzer error messages is updated to follow the common format - emphasize API name with ticks.
Removed unused diagnostic ID
Updated AnalyzerReleases files with correst history of when they were shipped and the newly published documentation links
Copy link

codecov bot commented Mar 6, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 61.02608%. Comparing base (1a16af9) to head (8d24798).
Report is 10 commits behind head on main.

Additional details and impacted files
@@                 Coverage Diff                 @@
##                main      #13083         +/-   ##
===================================================
+ Coverage   60.86786%   61.02608%   +0.15822%     
===================================================
  Files           1537        1539          +2     
  Lines         157860      158039        +179     
  Branches       14719       14721          +2     
===================================================
+ Hits           96086       96445        +359     
+ Misses         61088       60900        -188     
- Partials         686         694          +8     
Flag Coverage Δ
Debug 61.02608% <100.00000%> (+0.15822%) ⬆️
integration 10.73772% <ø> (ø)
production 38.81580% <100.00000%> (+0.18692%) ⬆️
test 95.67041% <ø> (+0.01259%) ⬆️
unit 36.23742% <100.00000%> (+0.25545%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

🚀 New features to boost your workflow:
  • Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@Tanya-Solyanik Tanya-Solyanik merged commit eaaf38c into dotnet:main Mar 7, 2025
8 checks passed
@dotnet-policy-service dotnet-policy-service bot added this to the 10.0 Preview3 milestone Mar 7, 2025
@Tanya-Solyanik Tanya-Solyanik deleted the docs branch March 7, 2025 20:30
@github-actions github-actions bot locked and limited conversation to collaborators Apr 7, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants