controlflow / resharper-heapview

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

Handle target-typed new #91

Closed BEagle1984 closed 1 year ago

BEagle1984 commented 2 years ago

I noticed that the target-typed new initializations aren't properly highlighted.

The new keyword in this snippet is properly underlined:

ErrorPolicyBuilder builder = new ErrorPolicyBuilder(_endpointsConfigurationBuilder);

While this one is not:

ErrorPolicyBuilder builder = new(_endpointsConfigurationBuilder);

I'm using the latest version (2021.3.0-eap05) on Rider 2021.3 EAP 10, but I don't think it matters.

tmenezes commented 2 years ago

Upvote

mu88 commented 2 years ago

I'd love to see this as well 🤩

controlflow commented 1 year ago

Thanks for reporting! Sorry it took so long, it will be fixed in the next release