You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Update all projects with Nullable, AnalysisLevel, and ImplicitUsings #3958
We want these properties in any new projects (#3933 (comment)) and it will take some effort to update existing projects.
I'm planning to add these properties to the Common.props, as suggested here: #3924 (comment).
This will be on-by-default for all projects. Projects with too many errors can be disabled until updated.
Notes
AnalysisLevel found 1 error.
ImplicitUsings found 311 errors.
Nullable found at least 1526 errors. Likely hundreds more.
should be able to remove #nullable enable
need to remove all the #pragma warning disable IDE0005 introduced while fixing ImplicitUsings
Status
<Nullable>enable</Nullable>
<AnalysisLevel>latest-All</AnalysisLevel> (a lot of issues, it should be enabled per project. When creating PRs consider 2 separate changes - trivial fixes, and more important as separate. It will be easier to review).
I'm working on removing the ImplicitUsings from projects.
This repo has a lot of shared files which complicates this setting.
I need to remove the ImplicitUsings disable from a few projects at a time and disable the using check in shared *.cs files.
The latest updates for .NET fixed AnalysisLevel, which is now reporting issues.
It detected almost 1800 issues in this repo and was blocking PRs.
This has been disabled in the Common.props until issues can be resolved.
This issue was marked stale due to lack of activity and will be closed in 7 days. Commenting will instruct the bot to automatically remove the label. This bot runs once per day.
Activity
TimothyMothra commentedon Dec 7, 2022
I'm working on removing the ImplicitUsings from projects.
This repo has a lot of shared files which complicates this setting.
I need to remove the
ImplicitUsings disablefrom a few projects at a time and disable the using check in shared *.cs files.TimothyMothra commentedon Dec 14, 2022
The latest updates for .NET fixed AnalysisLevel, which is now reporting issues.
It detected almost 1800 issues in this repo and was blocking PRs.
This has been disabled in the Common.props until issues can be resolved.
github-actions commentedon Oct 8, 2024
This issue was marked stale due to lack of activity and will be closed in 7 days. Commenting will instruct the bot to automatically remove the label. This bot runs once per day.
Kielek commentedon Oct 8, 2024
Not stale, hopefully it will be done. We have only couple leftovers.