Use pattern matching instead of as

Proprietary

Use pattern matching instead of as. Note: Needs type resolution.

OpenRewrite.Recipes.CSharp.CodeQuality.Simplification.UsePatternMatchingInsteadOfAs
mod run . --recipe=OpenRewrite.Recipes.CSharp.CodeQuality.Simplification.UsePatternMatchingInsteadOfAs

Install it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.