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