1 instantiation of AnalyzerDiagnosticReporter
Microsoft.CodeAnalysis (1)
DiagnosticAnalyzer\AnalyzerExecutor.AnalyzerDiagnosticReporter.cs (1)
25new ObjectPool<AnalyzerDiagnosticReporter>(() => new AnalyzerDiagnosticReporter(), 10);
21 references to AnalyzerDiagnosticReporter
Microsoft.CodeAnalysis (21)
DiagnosticAnalyzer\AnalyzerExecutor.AnalyzerDiagnosticReporter.cs (5)
24private static readonly ObjectPool<AnalyzerDiagnosticReporter> s_objectPool = 25new ObjectPool<AnalyzerDiagnosticReporter>(() => new AnalyzerDiagnosticReporter(), 10); 27public static AnalyzerDiagnosticReporter GetInstance( 40var item = s_objectPool.Allocate(); 86/// NOTE: <see cref="AnalyzerDiagnosticReporter"/> is a pooled type that is always used from a single
DiagnosticAnalyzer\AnalyzerExecutor.cs (16)
639var diagReporter = GetAddSemanticDiagnostic(semanticModel.SyntaxTree, analyzer, analyzerOptions, cancellationToken); 693var diagReporter = GetAddSyntaxDiagnostic(file, analyzer, analyzerOptions, cancellationToken); 739var diagReporter = GetAddSyntaxDiagnostic(file, analyzer, analyzerOptions, cancellationToken); 1025Action<AnalyzerDiagnosticReporter, Func<Diagnostic, CancellationToken, bool>, ExecutionData, TArgs, CancellationToken> executeActions, 1026Action<HashSet<TBlockAction>, AnalyzerDiagnosticReporter, Func<Diagnostic, CancellationToken, bool>, ExecutionData, TArgs, CancellationToken> executeBlockActions, 1055var diagReporter = GetAddSemanticDiagnostic( 1122var diagReporter = GetAddSemanticDiagnostic( 1143AnalyzerDiagnosticReporter diagReporter, 1223var diagReporter = GetAddSemanticDiagnostic( 1243AnalyzerDiagnosticReporter diagReporter, 1591private AnalyzerDiagnosticReporter GetAddSemanticDiagnostic( 1597return AnalyzerDiagnosticReporter.GetInstance( 1603private AnalyzerDiagnosticReporter GetAddSemanticDiagnostic( 1610return AnalyzerDiagnosticReporter.GetInstance( 1616private AnalyzerDiagnosticReporter GetAddSyntaxDiagnostic( 1622return AnalyzerDiagnosticReporter.GetInstance(