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.
Apache License 2.0
645 stars 61 forks source link
allocations compiler roslyn

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 opencode@microsoft.com with any additional questions or comments.