EvilRoslynAnalyzers
EvilRoslynAnalyzers copied to clipboard
Feature idea: ban lambdas
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.