Find LINQ methods replaceable with direct methods
ProprietaryDetect LINQ methods like .Count() that could be replaced with direct collection properties. Direct access avoids enumeration overhead.
OpenRewrite. Recipes. CSharp. CodeQuality. Performance. FindLinqOnDirectMethodsmod run . --recipe= OpenRewrite. Recipes. CSharp. CodeQuality. Performance. FindLinqOnDirectMethodsInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.