提交 b4f4e26a 编写于 作者: C Cyrus Najmabadi

Simplify

上级 da88c66e
......@@ -82,7 +82,7 @@ internal abstract partial class AbstractFindUsagesService
var results = await monikerUsagesService.FindReferencesByMonikerAsync(
definitionItem, monikers, page: currentPage, cancellationToken: cancellationToken).ConfigureAwait(false);
if (results == null || results.Length == 0)
if (results.IsDefaultOrEmpty)
return false;
if (currentPage == 0)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册