Use pattern matching instead of as
ProprietaryUse pattern matching instead of as. Note: Needs type resolution.
OpenRewrite. Recipes. CSharp. CodeQuality. Simplification. UsePatternMatchingInsteadOfAsmod run . --recipe= OpenRewrite. Recipes. CSharp. CodeQuality. Simplification. UsePatternMatchingInsteadOfAsInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.