Find LINQ methods replaceable with direct methods

Proprietary

Detect LINQ methods like .Count() that could be replaced with direct collection properties. Direct access avoids enumeration overhead.

OpenRewrite.Recipes.CSharp.CodeQuality.Performance.FindLinqOnDirectMethods
mod run . --recipe=OpenRewrite.Recipes.CSharp.CodeQuality.Performance.FindLinqOnDirectMethods

Install it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.