1 implementation of IAsynchronousOperationWaiter
Microsoft.CodeAnalysis.Workspaces (1)
Shared\TestHooks\AsynchronousOperationListener.cs (1)
16internal sealed partial class AsynchronousOperationListener : IAsynchronousOperationListener, IAsynchronousOperationWaiter
10 references to IAsynchronousOperationWaiter
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (1)
Workspaces\WorkspaceTests_EditorFeatures.cs (1)
46var workspaceWaiter = workspace.ExportProvider
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (1)
Completion\CompletionServiceTests.cs (1)
54var waiter = workspace.ExportProvider.GetExportedValue<AsynchronousOperationListenerProvider>().GetWaiter(FeatureAttribute.CompletionSet);
Microsoft.CodeAnalysis.Workspaces (6)
Shared\TestHooks\AsynchronousOperationListenerProvider.cs (6)
103public IAsynchronousOperationWaiter GetWaiter(string featureName) 104=> (IAsynchronousOperationWaiter)GetListener(featureName); 107/// Wait for all of the <see cref="IAsynchronousOperationWaiter"/> instances to finish their 237private IEnumerable<IAsynchronousOperationWaiter> GetCandidateWaiters(string[]? featureNames) 241return _singletonListeners.Values.Cast<IAsynchronousOperationWaiter>(); 244return _singletonListeners.Where(kv => featureNames.Contains(kv.Key)).Select(kv => (IAsynchronousOperationWaiter)kv.Value);
Roslyn.VisualStudio.Next.UnitTests (2)
Services\SolutionServiceTests.cs (2)
1175var waiter = listenerProvider.GetWaiter(FeatureAttribute.SolutionChecksumUpdater); 1229var waiter = listenerProvider.GetWaiter(FeatureAttribute.SolutionChecksumUpdater);