4 writes to ContentHash
NuGet.Commands (1)
PackagesLockFileBuilder.cs (1)
54
ContentHash
= libraryLookup[identity].Sha512,
NuGet.PackageManagement (2)
Utility\PackagesConfigLockFileUtility.cs (2)
271
ContentHash
= contentHashUtil.GetContentHash(toInstall.PackageIdentity, token),
323
ContentHash
= contentHashUtil.GetContentHash(package.PackageIdentity, token),
NuGet.ProjectModel (1)
ProjectLockFile\PackagesLockFileFormat.cs (1)
277
dependency.
ContentHash
= JsonUtility.ReadProperty<string>(jObject, ContentHashProperty);
10 references to ContentHash
NuGet.Commands (1)
RestoreCommand\RestoreCommand.cs (1)
1336
.ToDictionary(dep => new PackageIdentity(dep.Id, dep.ResolvedVersion), val => val.
ContentHash
);
NuGet.PackageManagement (4)
Utility\PackagesConfigLockFileUtility.cs (4)
129
bool allContentHashesMatch = comparisonResult.MatchedDependencies.All(pair => pair.Key.
ContentHash
== pair.Value.
ContentHash
);
137
foreach (var difference in comparisonResult.MatchedDependencies.Where(kvp => kvp.Key.
ContentHash
!= kvp.Value.
ContentHash
))
NuGet.ProjectModel (5)
ProjectLockFile\LockFileDependency.cs (3)
42
ContentHash
== other.
ContentHash
;
54
combiner.AddObject(
ContentHash
);
ProjectLockFile\PackagesLockFileFormat.cs (2)
322
if (dependency.
ContentHash
!= null)
324
json[ContentHashProperty] = dependency.
ContentHash
;