提交 6e873625 编写于 作者: C Cyrus Najmabadi

Remove unused field

上级 6c093d6d
......@@ -14,16 +14,13 @@ internal sealed class FindLiteralsServerCallback
{
private readonly Solution _solution;
private readonly IStreamingFindLiteralReferencesProgress _progress;
private readonly CancellationToken _cancellationToken;
public FindLiteralsServerCallback(
Solution solution,
IStreamingFindLiteralReferencesProgress progress,
CancellationToken cancellationToken)
IStreamingFindLiteralReferencesProgress progress)
{
_solution = solution;
_progress = progress;
_cancellationToken = cancellationToken;
}
public Task AddItemsAsync(int count)
......
......@@ -27,7 +27,7 @@ public static partial class SymbolFinder
// Create a callback that we can pass to the server process to hear about the
// results as it finds them. When we hear about results we'll forward them to
// the 'progress' parameter which will then update the UI.
var serverCallback = new FindLiteralsServerCallback(solution, progress, cancellationToken);
var serverCallback = new FindLiteralsServerCallback(solution, progress);
var success = await client.TryRunRemoteAsync(
WellKnownServiceHubServices.CodeAnalysisService,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册