TypeName | ConvertLambdaExpressionToMethodGroupAnalyzer |
Check Id | CC0020 |
Category | Style |
Severity | Hidden |
The extra unnecessary layer of indirection induced by the lambda expression may be avoided by passing the method group instead.
var f = a.Where(item => filter(item));
A code fix will be presented to you that will transform the code:
var f = a.Where(filter);
None
TBD