21 references to PackageSource
Microsoft.CodeAnalysis.Features (17)
AddImport\AbstractAddImportFeatureService.cs (6)
68ImmutableArray<PackageSource> packageSources, CancellationToken cancellationToken) 92ImmutableArray<PackageSource> packageSources, CancellationToken cancellationToken) 141ImmutableArray<PackageSource> packageSources, 494ImmutableArray<PackageSource> packageSources, CancellationToken cancellationToken) 517ImmutableArray<PackageSource> packageSources, CancellationToken cancellationToken) 544ImmutableArray<PackageSource> packageSources,
AddImport\IAddImportFeatureService.cs (4)
25ImmutableArray<PackageSource> packageSources, CancellationToken cancellationToken); 34ImmutableArray<PackageSource> packageSources, CancellationToken cancellationToken); 47/// ImmutableArray{PackageSource}, CancellationToken)"/> except it only returns fix data when there is a single 53ImmutableArray<PackageSource> packageSources, CancellationToken cancellationToken);
AddImport\PackageSourceHelper.cs (2)
17public static IEnumerable<(string sourceName, string sourceUrl)> GetPackageSources(ImmutableArray<PackageSource> packageSources) 23foreach (var packageSource in packageSources)
AddImport\Remote\IRemoteMissingImportDiscoveryService.cs (2)
26AddImportOptions options, ImmutableArray<PackageSource> packageSources, CancellationToken cancellationToken); 30AddImportOptions options, ImmutableArray<PackageSource> packageSources, CancellationToken cancellationToken);
AddImport\SymbolReferenceFinder.cs (2)
39private readonly ImmutableArray<PackageSource> _packageSources; 56ImmutableArray<PackageSource> packageSources,
CodeRefactorings\AddMissingImports\AbstractAddMissingImportsFeatureService.cs (1)
43var packageSources = ImmutableArray<PackageSource>.Empty;
Microsoft.CodeAnalysis.Workspaces (4)
Packaging\IPackageInstallerService.cs (4)
41ImmutableArray<PackageSource> TryGetPackageSources(); 47internal readonly struct PackageSource(string name, string source) : IEquatable<PackageSource> 56=> obj is PackageSource source && Equals(source); 58public bool Equals(PackageSource other)