Skip to content

Commit

Permalink
Fix: ConnectedModeSuggestionListener did not export ISLCoreListener (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
1 parent b94bf8d commit 87c3728
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
*/

using SonarLint.VisualStudio.ConnectedMode.Binding.Suggestion;
using SonarLint.VisualStudio.SLCore.Core;
using SonarLint.VisualStudio.SLCore.Listener.Binding;
using SonarLint.VisualStudio.SLCore.State;

Expand All @@ -30,7 +31,7 @@ public class ConnectedModeSuggestionListenerTests
[TestMethod]
public void MefCtor_CheckExports()
{
MefTestHelpers.CheckTypeCanBeImported<ConnectedModeSuggestionListener, IConnectedModeSuggestionListener>(
MefTestHelpers.CheckTypeCanBeImported<ConnectedModeSuggestionListener, ISLCoreListener>(
MefTestHelpers.CreateExport<IBindingSuggestionHandler>(),
MefTestHelpers.CreateExport<IActiveConfigScopeTracker>());
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,13 @@

using System.ComponentModel.Composition;
using SonarLint.VisualStudio.ConnectedMode.Binding.Suggestion;
using SonarLint.VisualStudio.SLCore.Core;
using SonarLint.VisualStudio.SLCore.Listener.Binding;
using SonarLint.VisualStudio.SLCore.State;

namespace SonarLint.VisualStudio.SLCore.Listeners.Implementation
{
[Export(typeof(IConnectedModeSuggestionListener))]
[Export(typeof(ISLCoreListener))]
[PartCreationPolicy(CreationPolicy.Shared)]
public class ConnectedModeSuggestionListener : IConnectedModeSuggestionListener
{
Expand Down

0 comments on commit 87c3728

Please sign in to comment.