Open alrz opened 7 years ago
You mean revised to introduce new warnings for existing code? No, not until we have warning waves so those new diagnostics are opted-into.
@gafter,
Do you have more info on these "warning waves", please?
@DavidArno #1580?
Great, thanks @alrz.
The ability to opt-in to a stricter diagnostic here would have caught the bug fixed in https://github.com/dotnet/project-system/pull/9569 that reduces 0.3% of allocations during solution load in Visual Studio. Neither CS0219 nor IDE0059 would catch that one.
All the reasons for not flagging unused variables as unused variables are addressed by wildcards.
Shouldn't this be revised?