controlflow / resharper-heapview

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

Bug - Incorrect highlight #22

Closed real-mikhail closed 9 years ago

real-mikhail commented 9 years ago

In screenshot below you can see that there is closure allocation with two parameters but only one parameter is highlighted.

capture

controlflow commented 9 years ago

The idea is to highlight closure class creation point, not the captured locals/parameters declarations itself. I was unable to find better place to put highlighting in the case above, closure class actually allocated in the beginning of method execution.

real-mikhail commented 9 years ago

Thanks for explanation!