Roslyn based C# heap allocation diagnostic analyzer that can detect explicit and many implicit allocations like boxing, display classes a.k.a closures, implicit delegate creations, etc
The code-assist version that integrates with the Visual Studio 2015 IDE is here, https://visualstudiogallery.msdn.microsoft.com/23ef1a4d-bc9d-49f1-a84f-ca358daaf587
NOTE: This is the build analyzer.
NOTE: You require ' ' ' ' Visual Studio 2015 CTP 6 ' ' ' ' for this to work.
See the version list below for details.
Install-Package ClrHeapAllocationAnalyzer -Version 220.127.116.11
dotnet add package ClrHeapAllocationAnalyzer --version 18.104.22.168
<PackageReference Include="ClrHeapAllocationAnalyzer" Version="22.214.171.124" />
paket add ClrHeapAllocationAnalyzer --version 126.96.36.199
A few fixes that were left out due to merge issue. False positive on method groups, and new array was missing.
This package has no dependencies.