microsoft/RoslynClrHeapAllocationAnalyzer

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.

C#

655

86 commits

updated May 26, 2022

See the code

README

NOTE This project is no longer maintained. The high impact analyzers from this repository are being merged with dotnet/roslyn-analyzers. As such, this repo was archived

Roslyn Clr Heap Allocation Analyzer

Join the chat at https://gitter.im/mjsabby/RoslynClrHeapAllocationAnalyzer

Quick Video: https://www.youtube.com/watch?v=Tw-wgT-cXYU&hd=1

Download: https://github.com/Microsoft/RoslynClrHeapAllocationAnalyzer/releases

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.

You can find also it on the Visual Studio Gallery, https://aka.ms/HeapAllocationAnalyzer

If you want it use it in your build: https://www.nuget.org/packages/ClrHeapAllocationAnalyzer/

example

Microsoft Open Source Code of Conduct

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.

allocations
compiler
roslyn

microsoft/RoslynClrHeapAllocationAnalyzer

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.

C#

655

86 commits

updated May 26, 2022

See the code

README

NOTE This project is no longer maintained. The high impact analyzers from this repository are being merged with dotnet/roslyn-analyzers. As such, this repo was archived

Roslyn Clr Heap Allocation Analyzer

Join the chat at https://gitter.im/mjsabby/RoslynClrHeapAllocationAnalyzer

Quick Video: https://www.youtube.com/watch?v=Tw-wgT-cXYU&hd=1

Download: https://github.com/Microsoft/RoslynClrHeapAllocationAnalyzer/releases

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.

You can find also it on the Visual Studio Gallery, https://aka.ms/HeapAllocationAnalyzer

If you want it use it in your build: https://www.nuget.org/packages/ClrHeapAllocationAnalyzer/

example

Microsoft Open Source Code of Conduct

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.

allocations
compiler
roslyn

Project health

Overall

3.7/10

Maintained

0/10

Code review

8/10
OpenSSF Scorecard

Significant stargazers

Andrew Arnott

1,406 followers · starred Oct 2014

xtqqczze

51 followers · starred Apr 2020

Adam Sitnik

903 followers · starred Nov 2016

Kristian Hellang

906 followers · starred Aug 2015