1 write to _diagnosticsWithKindFilter
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (1)
Diagnostics\MockDiagnosticAnalyzerService.cs (1)
32_diagnosticsWithKindFilter = ArrayBuilder<(DiagnosticData Diagnostic, DiagnosticKind KindFilter)>.GetInstance();
2 references to _diagnosticsWithKindFilter
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (2)
Diagnostics\MockDiagnosticAnalyzerService.cs (2)
36=> _diagnosticsWithKindFilter.Add((diagnostic, diagnosticKind)); 68=> Task.FromResult(_diagnosticsWithKindFilter.Where(d => diagnosticKind == d.KindFilter).Select(d => d.Diagnostic).ToImmutableArray());