If I use the Resharper code cleanup function, I'm finding my code ...
var personInfos = persons.Select(Mapper.Map<PersonInfo>).ToList();
is changed to ...
var personInfos = Enumerable.ToList(persons.Select(Mapper.Map<PersonInfo>));
But then Resharper makes a suggestion "To extension method invocation" for the Enumerable.ToList
so the code goes back to ...
var personInfos = persons.Select(Mapper.Map<PersonInfo>).ToList();
I've checked in the Resharper code editing options, but I can't see where/how I can stop this toggling behaviour