2 instantiations of SimpleDiagnosticQueue
Microsoft.CodeAnalysis (2)
DiagnosticAnalyzer\DiagnosticQueue.cs (2)
32return categorized ? (DiagnosticQueue)new CategorizedDiagnosticQueue() : new SimpleDiagnosticQueue(); 147diagnosticsMap[analyzer] = new SimpleDiagnosticQueue(diagnostic);
12 references to SimpleDiagnosticQueue
Microsoft.CodeAnalysis (12)
DiagnosticAnalyzer\DiagnosticQueue.cs (12)
100private Dictionary<DiagnosticAnalyzer, SimpleDiagnosticQueue>? _lazyLocalSemanticDiagnostics; 101private Dictionary<DiagnosticAnalyzer, SimpleDiagnosticQueue>? _lazyLocalSyntaxDiagnostics; 102private Dictionary<DiagnosticAnalyzer, SimpleDiagnosticQueue>? _lazyNonLocalDiagnostics; 128[NotNull] ref Dictionary<DiagnosticAnalyzer, SimpleDiagnosticQueue>? lazyDiagnosticsMap, 134lazyDiagnosticsMap ??= new Dictionary<DiagnosticAnalyzer, SimpleDiagnosticQueue>(); 139private static void EnqueueCore_NoLock(Dictionary<DiagnosticAnalyzer, SimpleDiagnosticQueue> diagnosticsMap, Diagnostic diagnostic, DiagnosticAnalyzer analyzer) 141if (diagnosticsMap.TryGetValue(analyzer, out var queue)) 171private static bool TryDequeue_NoLock(Dictionary<DiagnosticAnalyzer, SimpleDiagnosticQueue>? lazyDiagnosticsMap, [NotNullWhen(returnValue: true)] out Diagnostic? d) 200private ImmutableArray<Diagnostic> DequeueDiagnosticsCore(DiagnosticAnalyzer analyzer, Dictionary<DiagnosticAnalyzer, SimpleDiagnosticQueue>? lazyDiagnosticsMap) 202if (TryGetDiagnosticsQueue(analyzer, lazyDiagnosticsMap, out var queue)) 218Dictionary<DiagnosticAnalyzer, SimpleDiagnosticQueue>? diagnosticsMap, 219[NotNullWhen(returnValue: true)] out SimpleDiagnosticQueue? queue)