While not a warning by default, it does inform (IDE0058) in the editor. placing dotnet_diagnostic.IDE0058.severity = warning in your .editorconfig will promote it.
While not a warning by default, it does inform (IDE0058) in the editor. placing dotnet_diagnostic.IDE0058.severity = warning in your .editorconfig will promote it.