resharper-heapview icon indicating copy to clipboard operation
resharper-heapview copied to clipboard

ReSharper Heap Allocations Viewer plugin

Results 32 resharper-heapview issues
Sort by recently updated
recently updated
newest added

This is almost a non-issue, but `AsEnumerable` reports "Object allocation: LINQ method call" when used on reference types. When used on a struct, an allocation is reported on the variable...

The Rider 2022.3 EAP [is out](https://blog.jetbrains.com/dotnet/2022/10/07/rider-2022-3-eap-2/)! Please, update.

```c# interface I1 { void M(int parameter) { // display class is optimized into struct void Local() => parameter++; Local(); } } interface I2 { void M(int parameter) { //...

The code `var x = "Hello " + longValue` will show a highlight for boxing of the `longValue` variable. It appears previous compilers would box the value and call `String.Concat(object,...

```c# const string s = "aaa"; string b = $"aaa{s}"; // no alloc ```

Methods like `String.Substring` are often important to highlight. We can introduce external annotations or hardcoded annotation provider for such APIs

Static local functions are not introducing closures see for details: https://youtrack.jetbrains.com/issue/RSRP-487543

Sorry if this is a dumb question, but I just installed the plugin, and it's highlighted all sorts of things in my code. Whilst some of the tooltips explain the...

Repro code: ```C# using System.Linq; class Example { public void A() { var a = new[] { new[] { 1 } } .SelectMany(y => y.Select(x => y[x])) .Select(t => t);...