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