in ClrHeapAllocationsAnalyzer/AllocationAnalyzer.cs [20:33]
private void Analyze(SyntaxNodeAnalysisContext context)
{
if (AllocationRules.IsIgnoredFile(context.Node.SyntaxTree.FilePath))
{
return;
}
if (context.ContainingSymbol.GetAttributes().Any(AllocationRules.IsIgnoredAttribute))
{
return;
}
AnalyzeNode(context);
}