Comment Comment by notanaverageman There is already an analyzer for it: https://github.com/microsoft/RoslynClrHeapAllocationAnalyzer parent notanaverageman 3 years ago