Find closure in GetOrAdd/AddOrUpdate factory
ProprietaryDetect closures in lambdas passed to GetOrAdd or AddOrUpdate. Use the factory overload that accepts a state argument to avoid allocations.
OpenRewrite. Recipes. CSharp. CodeQuality. Performance. FindAvoidClosureInMethodmod run . --recipe= OpenRewrite. Recipes. CSharp. CodeQuality. Performance. FindAvoidClosureInMethodInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.