Find 'is' pattern with string literal
ProprietaryDetect x is "literal" patterns that should use string.Equals with explicit StringComparison for culture-aware or case-insensitive comparisons.
OpenRewrite. Recipes. CSharp. CodeQuality. Style. FindUseStringEqualsInsteadOfIsPatternmod run . --recipe= OpenRewrite. Recipes. CSharp. CodeQuality. Style. FindUseStringEqualsInsteadOfIsPatternInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.