controlflow / resharper-heapview

ReSharper Heap Allocations Viewer plugin
MIT License
303 stars 28 forks source link

Heap Allocation Viewer doesn't mark ToList(), ToArray(), etc. as allocating memory #120

Closed FredTuna closed 11 months ago

FredTuna commented 1 year ago

I've noticed that although Heap Viewer marks new List() as allocating memory with a red underline, it doesn't mark Linq's ToList() the same way even though it instantiates a new List. image

controlflow commented 11 months ago

Thanks for reporting, I already track this problem in #98