IDE0200 is not reported in .NET 8 but works in .NET 7 for injected dependencies #71300
Labels
Area-IDE
Feature - IDE0200
Remove unnecessary lambda
untriaged
Issues and PRs which have not yet been triaged by a lead
Version Used: I don't know how to check it.
I noticed that there is a difference between .NET 7 and .NET 8 in terms of what IDE0200 reports and I think it is a bug, since .NET 8 performs worse.
Steps to Reproduce:
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
editorconfig:
global.json – if I change version to
7.0.100
, it breaks the build. But for8.0.100
it doesn't.code:
Notes:
6.0.417
,7.0.404
,8.0.100
.Diagnostic Id: IDE0200
Expected Behavior: analyzer reports
Actual Behavior: analyzer doesn't report
The text was updated successfully, but these errors were encountered: