3 references to ReportUnusedImportsInTree
Microsoft.CodeAnalysis.CSharp (3)
Compilation\CSharpCompilation.cs (3)
2670if (_lazyImportInfos != null && (filterTree is null || ReportUnusedImportsInTree(filterTree))) 2685if ((filterTree == null || filterTree == infoTree) && ReportUnusedImportsInTree(infoTree)) 3118bool reportUnusedUsings = (!span.HasValue || span.Value == tree.GetRoot(cancellationToken).FullSpan) && ReportUnusedImportsInTree(tree);