Find ToString on object-typed parameter
ProprietaryDetect .ToString() calls on object-typed parameters. The default object.ToString() returns the type name, which is rarely the intended behavior.
OpenRewrite. Recipes. CSharp. CodeQuality. Style. FindDoNotUseObjectToStringmod run . --recipe= OpenRewrite. Recipes. CSharp. CodeQuality. Style. FindDoNotUseObjectToStringInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.