Remove redundant as operator

Proprietary

Remove redundant 'as' operator when the expression already has the target type.

OpenRewrite.Recipes.CSharp.CodeQuality.Redundancy.RemoveRedundantAsOperator
mod run . --recipe=OpenRewrite.Recipes.CSharp.CodeQuality.Redundancy.RemoveRedundantAsOperator

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