提交 8de4e66b 编写于 作者: J Jason Ramsay

Replacing Array.Empty with SpecializedCollections.EmptyEnumerable

上级 95fc32ae
......@@ -120,7 +120,7 @@ private bool ShouldConsiderSymbol(ISymbol symbol)
return additionalReferenceProvider.GetAdditionalReferencesAsync(document, symbol, cancellationToken);
}
return Task.FromResult<IEnumerable<Location>>(Array.Empty<Location>());
return Task.FromResult<IEnumerable<Location>>(SpecializedCollections.EmptyEnumerable<Location>());
}
private async Task<IEnumerable<DocumentHighlights>> CreateSpansAsync(
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册