1 implementation of ExpeditedWaitAsync
Microsoft.CodeAnalysis.Workspaces (1)
Shared\TestHooks\AsynchronousOperationListener.cs (1)
156public Task ExpeditedWaitAsync()
32 references to ExpeditedWaitAsync
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (5)
Classification\SemanticClassifierTests.cs (1)
3606await waiter.ExpeditedWaitAsync();
Classification\TotalClassifierTests.cs (1)
2865await waiter.ExpeditedWaitAsync();
EncapsulateField\EncapsulateFieldTestState.cs (1)
62await waiter.ExpeditedWaitAsync();
ExtractMethod\ExtractMethodMiscellaneousTests.cs (1)
140await waiter.ExpeditedWaitAsync();
Workspaces\WorkspaceTests_EditorFeatures.cs (1)
49await workspaceWaiter.ExpeditedWaitAsync();
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (3)
Completion\CompletionServiceTests.cs (1)
55await waiter.ExpeditedWaitAsync();
EditAndContinue\EditorManagedHotReloadLanguageServiceTests.cs (1)
387await workspace.GetService<AsynchronousOperationListenerProvider>().GetWaiter(FeatureAttribute.Workspace).ExpeditedWaitAsync();
FindReferences\FindReferencesCommandHandlerTests.cs (1)
80await waiter.ExpeditedWaitAsync();
Microsoft.CodeAnalysis.LanguageServer.UnitTests (15)
FileBasedProgramsEntryPointDiscoveryTests.cs (3)
251await testLspServer.TestWorkspace.GetService<AsynchronousOperationListenerProvider>().GetWaiter(FeatureAttribute.Workspace).ExpeditedWaitAsync(); 284await testLspServer.TestWorkspace.GetService<AsynchronousOperationListenerProvider>().GetWaiter(FeatureAttribute.Workspace).ExpeditedWaitAsync(); 317await testLspServer.TestWorkspace.GetService<AsynchronousOperationListenerProvider>().GetWaiter(FeatureAttribute.Workspace).ExpeditedWaitAsync();
FileBasedProgramsWorkspaceTests.cs (11)
297await testLspServer.TestWorkspace.GetService<AsynchronousOperationListenerProvider>().GetWaiter(FeatureAttribute.Workspace).ExpeditedWaitAsync(); 320await testLspServer.TestWorkspace.GetService<AsynchronousOperationListenerProvider>().GetWaiter(FeatureAttribute.Workspace).ExpeditedWaitAsync(); 355await testLspServer.TestWorkspace.GetService<AsynchronousOperationListenerProvider>().GetWaiter(FeatureAttribute.Workspace).ExpeditedWaitAsync(); 385await testLspServer.TestWorkspace.GetService<AsynchronousOperationListenerProvider>().GetWaiter(FeatureAttribute.Workspace).ExpeditedWaitAsync(); 428await testLspServer.TestWorkspace.GetService<AsynchronousOperationListenerProvider>().GetWaiter(FeatureAttribute.Workspace).ExpeditedWaitAsync(); 480await testLspServer.TestWorkspace.GetService<AsynchronousOperationListenerProvider>().GetWaiter(FeatureAttribute.Workspace).ExpeditedWaitAsync(); 529await testLspServer.TestWorkspace.GetService<AsynchronousOperationListenerProvider>().GetWaiter(FeatureAttribute.Workspace).ExpeditedWaitAsync(); 587await testLspServer.TestWorkspace.GetService<AsynchronousOperationListenerProvider>().GetWaiter(FeatureAttribute.Workspace).ExpeditedWaitAsync(); 739await testLspServer.TestWorkspace.GetService<AsynchronousOperationListenerProvider>().GetWaiter(FeatureAttribute.Workspace).ExpeditedWaitAsync(); 765await testLspServer.TestWorkspace.GetService<AsynchronousOperationListenerProvider>().GetWaiter(FeatureAttribute.Workspace).ExpeditedWaitAsync(); 836await testLspServer.TestWorkspace.GetService<AsynchronousOperationListenerProvider>().GetWaiter(FeatureAttribute.Workspace).ExpeditedWaitAsync();
LspFileChangeWatcherTests.cs (1)
106=> testLspServer.ExportProvider.GetExportedValue<AsynchronousOperationListenerProvider>().GetWaiter(FeatureAttribute.Workspace).ExpeditedWaitAsync();
Microsoft.CodeAnalysis.Workspaces (1)
Shared\TestHooks\AsynchronousOperationListenerProvider.cs (1)
130tasks = [.. waiters.Select(x => x.ExpeditedWaitAsync()).Where(t => !t.IsCompleted)];
Microsoft.CodeAnalysis.Workspaces.UnitTests (1)
SolutionTests\SolutionWithSourceGeneratorTests.cs (1)
1512await waiter.ExpeditedWaitAsync();
Microsoft.VisualStudio.LanguageServices.CSharp.UnitTests (1)
ProjectSystemShim\LegacyProject\AnalyzersTests.cs (1)
265waiter.ExpeditedWaitAsync().JoinUsingDispatcher(CancellationToken.None);
Roslyn.VisualStudio.Next.UnitTests (6)
Remote\RemoteHostClientServiceFactoryTests.cs (2)
58await workspaceListener.ExpeditedWaitAsync(); 61await listener.ExpeditedWaitAsync();
Services\SolutionServiceTests.cs (4)
993await GetWorkspaceWaiter(workspace).ExpeditedWaitAsync(); 1209await waiter.ExpeditedWaitAsync(); 1263await waiter.ExpeditedWaitAsync(); 1282await waiter.ExpeditedWaitAsync();