I came across a project that disabled an analyzer (duplicate code) via the NoWarn project setting, rather than the .editorconfig, as such:
<NoWarn>$(NoWarn);CS8002;PH2071</NoWarn>
The preferred technique is with an .editorconfig file. In fact, the use of NoWarn is discouraged and should be avoided if possible. Is an analyzer possible to detect this?
Use DiagnosicId 2163
I came across a project that disabled an analyzer (duplicate code) via the NoWarn project setting, rather than the .editorconfig, as such:
<NoWarn>$(NoWarn);CS8002;PH2071</NoWarn>The preferred technique is with an .editorconfig file. In fact, the use of NoWarn is discouraged and should be avoided if possible. Is an analyzer possible to detect this?
Use DiagnosicId 2163