2 types derived from DiagnosticQueue
Microsoft.CodeAnalysis (2)
DiagnosticAnalyzer\DiagnosticQueue.cs (2)
38private sealed class SimpleDiagnosticQueue : DiagnosticQueue 97private sealed class CategorizedDiagnosticQueue : DiagnosticQueue
9 references to DiagnosticQueue
Microsoft.CodeAnalysis (9)
DiagnosticAnalyzer\AnalyzerDriver.cs (7)
348private DiagnosticQueue? _lazyDiagnosticQueue; 353public DiagnosticQueue DiagnosticQueue 389private void Initialize(AnalyzerExecutor analyzerExecutor, DiagnosticQueue diagnosticQueue, CompilationData compilationData, ConcurrentSet<string>? suppressedDiagnosticIds, CancellationToken cancellationToken) 464var diagnosticQueue = DiagnosticQueue.Create(categorizeDiagnostics); 625/// <remarks>Driver must be initialized before invoking this method, i.e. <see cref="Initialize(AnalyzerExecutor, DiagnosticQueue, CompilationData, ConcurrentSet{string}, CancellationToken)"/> method must have been invoked and <see cref="WhenInitializedTask"/> must be non-null.</remarks> 657/// <remarks>Driver must be initialized before invoking this method, i.e. <see cref="Initialize(AnalyzerExecutor, DiagnosticQueue, CompilationData, ConcurrentSet{string}, CancellationToken)"/> method must have been invoked and <see cref="WhenInitializedTask"/> must be non-null.</remarks>
DiagnosticAnalyzer\DiagnosticQueue.cs (2)
30public static DiagnosticQueue Create(bool categorized = false) 32return categorized ? (DiagnosticQueue)new CategorizedDiagnosticQueue() : new SimpleDiagnosticQueue();