Quantcast
Channel: YouTrackReSharper (RSRP) - Bug and Issue Tracker
Viewing all articles
Browse latest Browse all 106942

RSRP-291877: Should be more tolerant of multiple enumerations with Linq extensions

$
0
0
Reporter Marcin Wiśnicki (Marcin.Wiśnicki) 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.

Viewing all articles
Browse latest Browse all 106942

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>