3 instantiations of PackageWithTypeResult
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (1)
AddUsing\AddUsingNuGetTests.cs (1)
348return CreateSearchResult(new PackageWithTypeResult(
Microsoft.CodeAnalysis.Features (1)
SymbolSearch\Windows\SymbolSearchUpdateEngine.cs (1)
213return new PackageWithTypeResult(
Microsoft.CodeAnalysis.VisualBasic.EditorFeatures.UnitTests (1)
Diagnostics\AddImport\AddImportTests_NuGet.vb (1)
261Return CreateSearchResult(New PackageWithTypeResult(
28 references to PackageWithTypeResult
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (3)
AddUsing\AddUsingNuGetTests.cs (3)
345private static ValueTask<ImmutableArray<PackageWithTypeResult>> CreateSearchResult( 353private static ValueTask<ImmutableArray<PackageWithTypeResult>> CreateSearchResult(params PackageWithTypeResult[] results)
Microsoft.CodeAnalysis.Features (14)
AddImport\Remote\AbstractAddImportFeatureService_Remote.cs (1)
39public ValueTask<ImmutableArray<PackageWithTypeResult>> FindPackagesWithTypeAsync(RemoteServiceCallbackId callbackId, string source, string name, int arity, CancellationToken cancellationToken)
AddImport\Remote\IRemoteMissingImportDiscoveryService.cs (1)
21ValueTask<ImmutableArray<PackageWithTypeResult>> FindPackagesWithTypeAsync(RemoteServiceCallbackId callbackId, string source, string name, int arity, CancellationToken cancellationToken);
AddImport\SymbolReferenceFinder_PackageAssemblySearch.cs (2)
124foreach (var result in results) 166PackageWithTypeResult result,
SymbolSearch\SymbolSearchUpdateNoOpEngine.cs (2)
19public ValueTask<ImmutableArray<PackageWithTypeResult>> FindPackagesWithTypeAsync(string source, string name, int arity, CancellationToken cancellationToken) 20=> ValueTaskFactory.FromResult(ImmutableArray<PackageWithTypeResult>.Empty);
SymbolSearch\Windows\SymbolSearchUpdateEngine.cs (5)
68public ValueTask<ImmutableArray<PackageWithTypeResult>> FindPackagesWithTypeAsync( 74return ValueTaskFactory.FromResult(ImmutableArray<PackageWithTypeResult>.Empty); 81return ValueTaskFactory.FromResult(ImmutableArray<PackageWithTypeResult>.Empty); 87var result = ArrayBuilder<PackageWithTypeResult>.GetInstance(); 204private PackageWithTypeResult CreateResult(AddReferenceDatabase database, Symbol type)
SymbolSearch\Windows\SymbolSearchUpdateEngineProxy.cs (3)
22public async ValueTask<ImmutableArray<PackageWithTypeResult>> FindPackagesWithTypeAsync(string source, string name, int arity, CancellationToken cancellationToken) 24var result = await _connection.TryInvokeAsync<ImmutableArray<PackageWithTypeResult>>( 28return result.HasValue ? result.Value : ImmutableArray<PackageWithTypeResult>.Empty;
Microsoft.CodeAnalysis.Remote.ServiceHub (2)
Services\MissingImportDiscovery\RemoteMissingImportDiscoveryService.cs (1)
108public ValueTask<ImmutableArray<PackageWithTypeResult>> FindPackagesWithTypeAsync(string source, string name, int arity, CancellationToken cancellationToken)
Services\SymbolSearchUpdate\RemoteSymbolSearchUpdateService.cs (1)
36public ValueTask<ImmutableArray<PackageWithTypeResult>> FindPackagesWithTypeAsync(string source, string name, int arity, CancellationToken cancellationToken)
Microsoft.CodeAnalysis.VisualBasic.EditorFeatures.UnitTests (3)
Diagnostics\AddImport\AddImportTests_NuGet.vb (3)
260Private Shared Function CreateSearchResult(packageName As String, typeName As String, nameParts As ImmutableArray(Of String)) As ValueTask(Of ImmutableArray(Of PackageWithTypeResult)) 269Private Shared Function CreateSearchResult(ParamArray results As PackageWithTypeResult()) As ValueTask(Of ImmutableArray(Of PackageWithTypeResult))
Microsoft.CodeAnalysis.Workspaces (5)
SymbolSearch\IRemoteSymbolSearchUpdateEngine.cs (1)
14ValueTask<ImmutableArray<PackageWithTypeResult>> FindPackagesWithTypeAsync(string source, string name, int arity, CancellationToken cancellationToken);
SymbolSearch\ISymbolSearchService.cs (3)
29ValueTask<ImmutableArray<PackageWithTypeResult>> FindPackagesWithTypeAsync( 166public ValueTask<ImmutableArray<PackageWithTypeResult>> FindPackagesWithTypeAsync(string source, string name, int arity, CancellationToken cancellationToken) 167=> ValueTaskFactory.FromResult(ImmutableArray<PackageWithTypeResult>.Empty);
SymbolSearch\ISymbolSearchUpdateEngine.cs (1)
21ValueTask<ImmutableArray<PackageWithTypeResult>> FindPackagesWithTypeAsync(
Microsoft.VisualStudio.LanguageServices (1)
SymbolSearch\VisualStudioSymbolSearchService.cs (1)
115public async ValueTask<ImmutableArray<PackageWithTypeResult>> FindPackagesWithTypeAsync(