IDE0370 (remove unnecessary suppression): allow to exclude non-annotated APIs
Open
Area-IDE
Feature - IDE0079
Feature Request
- Dominant language
- C#
- Stars
- 20.7k
- Forks
- 4.3k
- PR merge metrics
- PR metrics pending
Description
This is a feature request to allow an .editorconfig option to not report/analyze code that is not nullable aware.
If I have code like `var x = SomeExpression!`, where `SomeExpression` is not nullable-aware, I would like this to not produce a warning. This is useful for multi-targeting scenarios where one TFM is annotated and the other is not. And it's also better than disabling the analyzer completely on old TFMs (e.g, .NET Framework).
Contributor guide
Assessment
This issue has not been assessed yet.