提交 d01a46e7 编写于 作者: C CyrusNajmabadi

Fix presentation.

上级 243ee2e5
......@@ -61,12 +61,8 @@ internal static class IStreamingFindUsagesPresenterExtensions
return nonExternalItems[0].TryNavigateTo();
}
if (presenter == null)
if (presenter != null)
{
// Don't have any way to present these items.
return false;
}
// We have multiple definitions, or we have definitions with multiple locations.
// Present this to the user so they can decide where they want to go to.
......@@ -82,6 +78,8 @@ internal static class IStreamingFindUsagesPresenterExtensions
// context it has completed. In the latter case somethign wrong has happened
// and we don't want to run any more code code in this particular context.
await context.OnCompletedAsync().ConfigureAwait(false);
}
return true;
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册