Use anonymous function or method group
ProprietaryConvert a lambda expression to a method group where appropriate.
OpenRewrite. Recipes. CSharp. CodeQuality. Simplification. UseAnonymousFunctionOrMethodGroupmod run . --recipe= OpenRewrite. Recipes. CSharp. CodeQuality. Simplification. UseAnonymousFunctionOrMethodGroupInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.