Do not use ToString on GetType result
ProprietaryUsing .GetType().ToString() returns the full type name. Consider using .GetType().Name or .GetType().FullName instead for clarity.
OpenRewrite. Recipes. CSharp. CodeQuality. Performance. FindDoNotUseToStringIfObjectmod run . --recipe= OpenRewrite. Recipes. CSharp. CodeQuality. Performance. FindDoNotUseToStringIfObjectInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.