2 implementations of GetListener
Microsoft.CodeAnalysis.Workspaces (2)
Shared\TestHooks\AsynchronousOperationListenerProvider.cs (1)
80public IAsynchronousOperationListener GetListener(string featureName)
Shared\TestHooks\AsynchronousOperationListenerProvider+NullListenerProvider.cs (1)
11public IAsynchronousOperationListener GetListener(string featureName) => NullListener;
27 references to GetListener
IdeBenchmarks (2)
InheritanceMargin\InheritanceMarginGlyphBenchmarks.cs (1)
146_listener = listenerProvider.GetListener(FeatureAttribute.InheritanceMargin);
SQLitePersistentStorageBenchmark.cs (1)
63var asyncListener = _workspace.ExportProvider.GetExportedValue<IAsynchronousOperationListenerProvider>().GetListener(FeatureAttribute.PersistentStorage);
Microsoft.CodeAnalysis.CSharp.EditorFeatures (1)
EventHookup\EventHookupCommandHandler.cs (1)
52private readonly IAsynchronousOperationListener _asyncListener = listenerProvider.GetListener(FeatureAttribute.EventHookup);
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (1)
EncapsulateField\EncapsulateFieldTestState.cs (1)
60var waiter = (IAsynchronousOperationWaiter)provider.GetListener(FeatureAttribute.EncapsulateField);
Microsoft.CodeAnalysis.ExternalAccess.Razor.Features (1)
RazorAsynchronousOperationListenerProviderAccessor.cs (1)
28var inner = _implementation.GetListener(featureName);
Microsoft.CodeAnalysis.Features (5)
Completion\CompletionService.ProviderManager.cs (1)
46listenerProvider.GetListener(FeatureAttribute.CompletionSet),
Completion\Providers\ImportCompletionProvider\AbstractImportCompletionCacheServiceFactory.cs (1)
33_listenerProvider.GetListener(FeatureAttribute.CompletionSet),
Diagnostics\Service\DiagnosticAnalyzerService.cs (1)
62Listener = listenerProvider?.GetListener(FeatureAttribute.DiagnosticService) ?? AsynchronousOperationListenerProvider.NullListener;
ExternalAccess\UnitTesting\Notification\AbstractGlobalOperationNotificationService.cs (1)
35listenerProvider.GetListener(FeatureAttribute.GlobalOperation),
ExternalAccess\UnitTesting\SolutionCrawler\UnitTestingSolutionCrawlerRegistrationService.cs (1)
50_listener = listenerProvider.GetListener(FeatureAttribute.SolutionCrawlerUnitTesting);
Microsoft.CodeAnalysis.LanguageServer (2)
HostWorkspace\FileWatching\LspFileChangeWatcher.cs (1)
32_asynchronousOperationListener = asynchronousOperationListenerProvider.GetListener(FeatureAttribute.Workspace);
HostWorkspace\LanguageServerProjectLoader.cs (1)
117listenerProvider.GetListener(FeatureAttribute.Workspace),
Microsoft.CodeAnalysis.LanguageServer.Protocol (4)
Handler\AbstractRefreshQueue.cs (1)
46_asyncListener = asynchronousOperationListenerProvider.GetListener(GetFeatureAttribute());
Handler\References\FindAllReferencesHandler.cs (1)
39_asyncListener = asynchronousOperationListenerProvider.GetListener(FeatureAttribute.LanguageServer);
Handler\SourceGenerators\SourceGeneratorRefreshQueue.cs (1)
41_asyncListener = asynchronousOperationListenerProvider.GetListener(FeatureAttribute.SourceGenerators);
Handler\Symbols\WorkspaceSymbolsHandler.cs (1)
45private readonly IAsynchronousOperationListener _asyncListener = listenerProvider.GetListener(FeatureAttribute.NavigateTo);
Microsoft.CodeAnalysis.Remote.ServiceHub (1)
Services\EditAndContinue\EditAndContinueLogReporter.cs (1)
48listenerProvider.GetListener(FeatureAttribute.EditAndContinue),
Microsoft.CodeAnalysis.Workspaces (5)
ExternalAccess\VSTypeScript\Api\VSTypeScriptAsynchronousOperationListenerProvider.cs (1)
20=> new(provider.GetListener(featureName));
FindSymbols\SymbolTree\SymbolTreeInfoCacheServiceFactory.cs (1)
19private readonly IAsynchronousOperationListener _listener = listenerProvider.GetListener(FeatureAttribute.SolutionCrawlerLegacy);
Storage\SQLite\v2\SQLitePersistentStorageService.cs (1)
28private readonly IAsynchronousOperationListener _asyncListener = asyncOperationListenerProvider.GetListener(FeatureAttribute.PersistentStorage);
Workspace\Host\TaskScheduler\WorkspaceAsynchronousOperationListenerProvider.cs (2)
18private readonly IAsynchronousOperationListener _listener = listenerProvider.GetListener(FeatureAttribute.Workspace); 24=> listenerProvider.GetListener(featureName);
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (1)
AsynchronousOperationListenerExtensions.cs (1)
19=> (IAsynchronousOperationWaiter)provider.GetListener(featureName);
Microsoft.VisualStudio.IntegrationTest.Setup (1)
AsyncCompletionTracker.cs (1)
48var listener = _asynchronousOperationListenerProvider.GetListener(FeatureAttribute.CompletionSet);
Microsoft.VisualStudio.LanguageServices.CSharp (2)
Interactive\CSharpVsInteractiveWindowProvider.cs (1)
48_listener = listenerProvider.GetListener(FeatureAttribute.InteractiveEvaluator);
SemanticSearch\SemanticSearchToolWindowImpl.cs (1)
70private readonly IAsynchronousOperationListener _asyncListener = listenerProvider.GetListener(FeatureAttribute.SemanticSearch);
Roslyn.VisualStudio.Next.UnitTests (1)
Services\ServiceHubServicesTests.cs (1)
213listenerProvider.GetListener(FeatureAttribute.DesignerAttributes),