Find GetType() on Type instance

Proprietary

Detect .GetType() called on an object that is already a System.Type. Use typeof() directly.

OpenRewrite.Recipes.CSharp.CodeQuality.Style.FindDoNotUseGetHashCodeForString
mod run . --recipe=OpenRewrite.Recipes.CSharp.CodeQuality.Style.FindDoNotUseGetHashCodeForString

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