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 2019 IDE is here, https://marketplace.visualstudio.com/items?itemName=MukulSabharwal.ClrHeapAllocationAnalyzer NOTE: This is the build analyzer. NOTE: You require ' ' ' ' Visual Studio 2019 ' ' ' ' for this to work.
$ dotnet add package ClrHeapAllocationAnalyzerNo README available.