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