3 implementations of FindPackagesAsync
Microsoft.CodeAnalysis.Remote.ServiceHub (1)
Services\MissingImportDiscovery\RemoteMissingImportDiscoveryService.cs (1)
106public ValueTask<ImmutableArray<PackageResult>> FindPackagesAsync(string source, TypeQuery typeQuery, NamespaceQuery namespaceQuery, CancellationToken cancellationToken)
Microsoft.CodeAnalysis.Workspaces (1)
SymbolSearch\ISymbolSearchService.cs (1)
158public ValueTask<ImmutableArray<PackageResult>> FindPackagesAsync(string source, TypeQuery typeQuery, NamespaceQuery namespaceQuery, CancellationToken cancellationToken)
Microsoft.VisualStudio.LanguageServices (1)
SymbolSearch\VisualStudioSymbolSearchService.cs (1)
132public async ValueTask<ImmutableArray<PackageResult>> FindPackagesAsync(
11 references to FindPackagesAsync
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (9)
CodeActions\AddUsing\AddUsingNuGetTests.cs (9)
66packageServiceMock.Setup(s => s.FindPackagesAsync( 103packageServiceMock.Setup(s => s.FindPackagesAsync( 138packageServiceMock.Setup(s => s.FindPackagesAsync( 173packageServiceMock.Setup(s => s.FindPackagesAsync( 206packageServiceMock.Setup(s => s.FindPackagesAsync( 234packageServiceMock.Setup(s => s.FindPackagesAsync( 284packageServiceMock.Setup(s => s.FindPackagesAsync( 322packageServiceMock.Setup(s => s.FindPackagesAsync(PackageSourceHelper.NugetOrgSourceName, new TypeQuery("NuGetType", 0), It.IsAny<NamespaceQuery>(), It.IsAny<CancellationToken>())) 359packageServiceMock.Setup(s => s.FindPackagesAsync(PackageSourceHelper.NugetOrgSourceName, new TypeQuery("NuGetType", 0), It.IsAny<NamespaceQuery>(), It.IsAny<CancellationToken>()))
Microsoft.CodeAnalysis.Features (2)
AddImport\Remote\RemoteMissingImportDiscoveryServiceCallbackDispatcher.cs (1)
35=> GetService(callbackId).FindPackagesAsync(source, typeQuery, namespaceQuery, cancellationToken);
AddImport\SymbolReferenceFinder_PackageAssemblySearch.cs (1)
165var results = await _symbolSearchService.FindPackagesAsync(