EvilRoslynAnalyzers icon indicating copy to clipboard operation
EvilRoslynAnalyzers copied to clipboard

Feature idea: ban lambdas

Open alexeyzimarev opened this issue 10 months ago • 0 comments

As you never know when lambdas will be executed, you can end up the lambda being called on disposed resources. They also add allocations of delegates and closures.

Nobody needs high-order functions anyway. It's easy to replace them with ifs and switches.

alexeyzimarev avatar Apr 16 '24 20:04 alexeyzimarev