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