Use string.Length instead of comparison with empty string
ProprietaryReplace s == "" with s.Length == 0 and s != "" with s.Length != 0.
OpenRewrite. Recipes. CSharp. CodeQuality. Style. UseStringLengthComparisonmod run . --recipe= OpenRewrite. Recipes. CSharp. CodeQuality. Style. UseStringLengthComparisonInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.