Find GetType() called on System.Type

Proprietary

Detect typeof(T).GetType() which returns System.RuntimeType instead of the expected System.Type. Use typeof(T) directly.

OpenRewrite.Recipes.CSharp.CodeQuality.Performance.FindGetTypeOnSystemType
mod run . --recipe=OpenRewrite.Recipes.CSharp.CodeQuality.Performance.FindGetTypeOnSystemType

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