1 instantiation of AnalyzerDiagnosticReporter
Microsoft.CodeAnalysis (1)
DiagnosticAnalyzer\AnalyzerExecutor.AnalyzerDiagnosticReporter.cs (1)
25
new ObjectPool<AnalyzerDiagnosticReporter>(() => new
AnalyzerDiagnosticReporter
(), 10);
5 references to AnalyzerDiagnosticReporter
Microsoft.CodeAnalysis (5)
DiagnosticAnalyzer\AnalyzerExecutor.AnalyzerDiagnosticReporter.cs (5)
24
private static readonly ObjectPool<
AnalyzerDiagnosticReporter
> s_objectPool =
25
new ObjectPool<
AnalyzerDiagnosticReporter
>(() => new AnalyzerDiagnosticReporter(), 10);
27
public static
AnalyzerDiagnosticReporter
GetInstance(
39
var
item = s_objectPool.Allocate();
82
/// NOTE: <see cref="
AnalyzerDiagnosticReporter
"/> is a pooled type that is always used from a single