提交 ed4ace33 编写于 作者: C CyrusNajmabadi

Merge pull request #4274 from CyrusNajmabadi/brokenReanalyze

Fix issue where asking the solution crawler to reanalyze projects was a no-op.
......@@ -105,7 +105,7 @@ public void Reanalyze(Workspace workspace, IIncrementalAnalyzer analyzer, IEnume
var solution = workspace.CurrentSolution;
var set = new HashSet<DocumentId>(documentIds ?? SpecializedCollections.EmptyEnumerable<DocumentId>());
set.Union(projectIds.Select(id => solution.GetProject(id)).SelectMany(p => p.DocumentIds));
set.UnionWith(projectIds.Select(id => solution.GetProject(id)).SelectMany(p => p.DocumentIds));
coordinator.Reanalyze(analyzer, set);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册