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