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)
350private DiagnosticQueue? _lazyDiagnosticQueue; 355public DiagnosticQueue DiagnosticQueue 393DiagnosticQueue diagnosticQueue, 473var diagnosticQueue = DiagnosticQueue.Create(categorizeDiagnostics); 634/// <remarks>Driver must be initialized before invoking this method, i.e. <see cref="Initialize(AnalyzerExecutor, DiagnosticQueue, CompilationData, AnalysisScope, ConcurrentSet{string}, CancellationToken)"/> method must have been invoked and <see cref="WhenInitializedTask"/> must be non-null.</remarks> 663/// <remarks>Driver must be initialized before invoking this method, i.e. <see cref="Initialize(AnalyzerExecutor, DiagnosticQueue, CompilationData, AnalysisScope, 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();