Convert 'if' to assignment
ProprietaryConvert 'if' statement that assigns boolean literals to a simple assignment with the condition expression.
OpenRewrite. Recipes. CSharp. CodeQuality. Simplification. ConvertIfToAssignmentmod run . --recipe= OpenRewrite. Recipes. CSharp. CodeQuality. Simplification. ConvertIfToAssignmentInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.