Use method group conversion
ProprietaryReplace x => Foo(x) with Foo where method group conversion applies.
OpenRewrite. Recipes. CSharp. CodeQuality. Style. UseMethodGroupConversionmod run . --recipe= OpenRewrite. Recipes. CSharp. CodeQuality. Style. UseMethodGroupConversionInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.