Repository navigation
[repo] Enable analysis globally - #6344
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
✅ All tests successful. No failed tests found. Additional details and impacted files@@ Coverage Diff @@
## main #6344 +/- ##
==========================================
- Coverage 86.69% 86.68% -0.02%
==========================================
Files 258 258
Lines 11879 11879
==========================================
- Hits 10299 10297 -2
- Misses 1580 1582 +2
Flags with carried forward coverage won't be shown. Click here to find out more. |
| return services; | ||
| } | ||
|
|
||
| #pragma warning disable CA1812 // Avoid uninstantiated internal classes |
There was a problem hiding this comment.
nit: in a follow up PR; consider disabling these warnings for the entire docs directory or in the csproj file. The goal being to keep the examples simple.
There was a problem hiding this comment.
I think analysis should be disabled or significantly reduced for the docs and maybe the examples directory. They're purely for instructional purposes. All the #pragmas and #ifs add noise that are not relevant to understanding the examples.
There was a problem hiding this comment.
Removed all new ifs/pragmas from the documentation code.
Issues are moted granularly, per project.
…emetry-dotnet into analysis-globally
Fixes #3958
Changes
Last commit related to enforcing analysis level across all projects.
Includes changes for samples, I missed it previosly.
Merge requirement checklist
[ ] Unit tests added/updated[ ] AppropriateCHANGELOG.mdfiles updated for non-trivial changes[ ] Changes in public API reviewed (if applicable)