Use 'is' operator instead of 'as' operator

Proprietary

Replace 'as' operator followed by null check with 'is' operator.

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

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