Use conditional access instead of conditional expression
ProprietaryTransform ternary null-check expressions to use conditional access (?.) with null-coalescing (??) where needed.
OpenRewrite. Recipes. CSharp. CodeQuality. Simplification. UseConditionalAccessInsteadOfIfmod run . --recipe= OpenRewrite. Recipes. CSharp. CodeQuality. Simplification. UseConditionalAccessInsteadOfIfInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.