4 instantiations of PackageIndex
Microsoft.DotNet.Build.Tasks.Packaging (1)
UpdatePackageIndex.cs (1)
93new PackageIndex();
Microsoft.DotNet.Build.Tasks.Packaging.Tests (3)
CreateTrimDependencyGroupsTests.cs (1)
30PackageIndex index = new PackageIndex();
PackageIndexTests.cs (2)
18PackageIndex packageIndex = new PackageIndex(); 33packageIndex = new PackageIndex();
45 references to PackageIndex
Microsoft.DotNet.Build.Tasks.Packaging (40)
ApplyBaseLine.cs (2)
105var index = PackageIndex.Load(PackageIndexes.Select(pi => pi.GetMetadata("FullPath")));
ApplyMetaPackages.cs (2)
56var index = PackageIndex.Load(PackageIndexes.Select(pi => pi.GetMetadata("FullPath")));
ApplyPreReleaseSuffix.cs (2)
19private PackageIndex _index; 66_index = PackageIndex.Load(PackageIndexes.Select(pi => pi.GetMetadata("FullPath")));
CreateTrimDependencyGroups.cs (2)
68var index = PackageIndex.Load(PackageIndexes.Select(pi => pi.GetMetadata("FullPath")));
FilterUnknownPackages.cs (2)
41var index = PackageIndex.Load(PackageIndexes.Select(pi => pi.GetMetadata("FullPath")));
GeneratePackageReport.cs (2)
236var index = PackageIndex.Load(PackageIndexes.Select(pi => pi.GetMetadata("FullPath")));
GetInboxFrameworks.cs (2)
57var index = PackageIndex.Load(PackageIndexes.Select(pi => pi.GetMetadata("FullPath")));
GetLastStablePackage.cs (2)
130var index = PackageIndex.Load(PackageIndexes.Select(pi => pi.GetMetadata("FullPath")));
GetPackageFromModule.cs (2)
44var index = PackageIndex.Load(PackageIndexes.Select(pi => pi.GetMetadata("FullPath")));
PackageIndex.cs (8)
22static ConcurrentDictionary<string, PackageIndex> s_indexCache = new ConcurrentDictionary<string, PackageIndex>(); 35public static PackageIndex Load(IEnumerable<string> packageIndexFiles) 41PackageIndex result = null; 65public static PackageIndex Load(string packageIndexFile) 70var result = s_serializer.Deserialize<PackageIndex>(jsonTextReader); 134public void Merge(PackageIndex other)
PromoteDependencies.cs (2)
23private PackageIndex index; 42index = PackageIndex.Load(PackageIndexes.Select(pi => pi.GetMetadata("FullPath")));
SplitReferences.cs (2)
60var index = PackageIndex.Load(PackageIndexes.Select(pi => pi.GetMetadata("FullPath")));
UpdatePackageIndex.cs (6)
91PackageIndex index = File.Exists(indexFilePath) ? 92index = PackageIndex.Load(indexFilePath) : 208private void UpdateFromFolderLayout(PackageIndex index, string path, bool filter = false) 226private void UpdateFromPackage(PackageIndex index, string packagePath, bool filter = false) 263private void UpdateFromValues(PackageIndex index, string id, NuGetVersion version, IEnumerable<Version> assemblyVersions, IEnumerable<string> dllNames) 340private PackageInfo GetOrCreatePackageInfo(PackageIndex index, string id)
ValidatePackage.cs (2)
378var index = PackageIndex.Load(PackageIndexes.Select(pi => pi.GetMetadata("FullPath")));
ValidationTask.cs (2)
48protected PackageIndex _index; 150_index = PackageIndex.Load(PackageIndexes.Select(pi => pi.GetMetadata("FullPath")));
Microsoft.DotNet.Build.Tasks.Packaging.Tests (5)
CreateTrimDependencyGroupsTests.cs (1)
30PackageIndex index = new PackageIndex();
PackageIndexTests.cs (4)
18PackageIndex packageIndex = new PackageIndex(); 29packageIndex = PackageIndex.Load(packageIndexFiles); 45packageIndex = PackageIndex.Load(packageIndexFiles); 62packageIndex = PackageIndex.Load(packageIndexFiles);