提交 0ce69221 编写于 作者: D Dustin Campbell 提交者: GitHub

Merge pull request #15891 from vslsnap/merge-dev15-rc2-into-master-20161214-145813

Merge dev15-rc2 into master
......@@ -679,6 +679,12 @@ private RoslynDefinitionBucket GetOrCreateDefinitionBucket(DefinitionItem defini
public override Task ReportProgressAsync(int current, int maximum)
{
// https://devdiv.visualstudio.com/web/wi.aspx?pcguid=011b8bdf-6d56-4f87-be0d-0092136884d9&id=359162
// Right now VS actually responds to each SetProgess call by enqueueing a UI task
// to do the progress bar update. This can made FindReferences feel extremely slow
// when thousands of SetProgress calls are made. So, for now, we're removing
// the progress update until the FindRefs window fixes that perf issue.
#if false
try
{
// The original FAR window exposed a SetProgress(double). Ensure that we
......@@ -688,6 +694,7 @@ public override Task ReportProgressAsync(int current, int maximum)
catch
{
}
#endif
return SpecializedTasks.EmptyTask;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册