Use string.EndsWith
ProprietaryDetect substring comparison patterns that could use EndsWith.
OpenRewrite. Recipes. CSharp. CodeQuality. Simplification. UseStringEndsWithmod run . --recipe= OpenRewrite. Recipes. CSharp. CodeQuality. Simplification. UseStringEndsWithInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.