Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
using Microsoft.CodeAnalysis.Editor.Shared.Utilities;
using Microsoft.CodeAnalysis.Internal.Log;
using Microsoft.CodeAnalysis.Options;
using Microsoft.CodeAnalysis.Shared.TestHooks;
using Microsoft.CodeAnalysis.Text;
using Microsoft.VisualStudio.Language.Intellisense;
using Microsoft.VisualStudio.Text;
Expand All @@ -32,7 +31,6 @@ private sealed partial class SuggestedActionsSource : ISuggestedActionsSource3
private readonly ISuggestedActionCategoryRegistryService _suggestedActionCategoryRegistry;

private readonly ReferenceCountedDisposable<State> _state;
private readonly IAsynchronousOperationListener _listener;

public event EventHandler<EventArgs>? SuggestedActionsChanged { add { } remove { } }

Expand All @@ -45,8 +43,7 @@ public SuggestedActionsSource(
SuggestedActionsSourceProvider owner,
ITextView textView,
ITextBuffer textBuffer,
ISuggestedActionCategoryRegistryService suggestedActionCategoryRegistry,
IAsynchronousOperationListener listener)
ISuggestedActionCategoryRegistryService suggestedActionCategoryRegistry)
{
_threadingContext = threadingContext;
GlobalOptions = globalOptions;
Expand All @@ -55,7 +52,6 @@ public SuggestedActionsSource(
_state = new ReferenceCountedDisposable<State>(new State(this, owner, textView, textBuffer));

_state.Target.TextView.Closed += OnTextViewClosed;
_listener = listener;
}

public void Dispose()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ public SuggestedActionsSourceProvider(
return null;

return new SuggestedActionsSource(
_threadingContext, _globalOptions, this, textView, textBuffer, _suggestedActionCategoryRegistry, this.OperationListener);
_threadingContext, _globalOptions, this, textView, textBuffer, _suggestedActionCategoryRegistry);
}

private static CodeActionRequestPriority? TryGetPriority(string priority)
Expand Down
Loading