Reporter | Alexander Abramov (aa) |
---|---|
Created | Apr 10, 2012 4:37:00 PM |
Updated | Apr 11, 2012 1:14:18 AM |
Priority | Critical |
Type | Bug |
Fix versions | No Fix versions |
State | Submitted |
Assignee | Alexey Kuptsov (alexey.kuptsov) |
Subsystem | No subsystem |
Affected versions | No Affected versions |
Fixed in build | No Fixed in build |
Given this code
Applying "Remove ToList()" fix creates this code
Expected result
Resharper 6.1 full build 6.1.1000.82
var a = Enumerable.Empty<bool>().ToList().Count(s => s);
Applying "Remove ToList()" fix creates this code
var a = Enumerable.Empty<bool>().Count()(s => s);
Expected result
var a = Enumerable.Empty<bool>().Count(s => s);
Resharper 6.1 full build 6.1.1000.82