Do not use ToString on GetType result

Proprietary

Using .GetType().ToString() returns the full type name. Consider using .GetType().Name or .GetType().FullName instead for clarity.

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

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