RoslynClrHeapAllocationAnalyzer icon indicating copy to clipboard operation
RoslynClrHeapAllocationAnalyzer copied to clipboard

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.

Results 32 RoslynClrHeapAllocationAnalyzer issues
Sort by recently updated
recently updated
newest added

I've been playing around with this package, and while I think it has some merit and potential, it feels woefully under-documented, and its advice is confusing. For example, I ran...

- Have two projects: A, B. - B depends on A. - Install analyzer only to project A. - Analyzer reports errors in project B.

Calls like `string.Substring` to which there may be better alternatives using `Span`.

Is it possible to use analyzers with visual studio 2022?

Hi. As far as I know, there is no way to throw an exception without allocating. Besides rethrowing an existing. Would be nice if there would be a possibility to...

VS 2017 15.8.1 I have installed the extension but within my projects there is no analyze output to see. I copied the example code for testing the extension: `static void...

question

A simple and popular request: add Visual Basic.NET support for the analyzer.

The package is added to packages.config, but the `Analyzer` item is not added to the project.

Installation as nuget fails in Visual Studio 2019 16.7.0-pre2.0 ``` Attempting to gather dependency information for package 'ClrHeapAllocationAnalyzer.3.0.0' with respect to project 'Core\DAL\Nextens.DataAccess.SolrDataPush', targeting '.NETFramework,Version=v4.8' Gathering dependency information took 161...