Reporter | Marcin Wiśnicki (Marcin.Wiśnicki) |
---|---|
Created | Mar 26, 2012 2:25:42 PM |
Updated | Mar 26, 2012 8:57:02 PM |
Resolved | Mar 26, 2012 2:53:56 PM |
Priority | Normal |
Type | Bug |
Fix versions | No Fix versions |
State | Won't fix |
Assignee | Evgeny Pasynkov (pasynkov) |
Subsystem | Code Analysis |
Affected versions | 6.1.1 |
Fixed in build | No Fixed in build |
Currently ReSharper warns of multiple enumerations when using extension methods like Any(), First(), FirstOrDefault(), etc. (without filter argument).
Since those methods do not really enumerate all elements and are preferable due to brevity, it would be better if ReSharper didn't warn about them or at least had such option.
A way to exclude own methods from this check would be useful too.
Since those methods do not really enumerate all elements and are preferable due to brevity, it would be better if ReSharper didn't warn about them or at least had such option.
A way to exclude own methods from this check would be useful too.