2 writes to Sha512
NuGet.Commands (1)
RestoreCommand\LockFileBuilder.cs (1)
669
Sha512
= sha512,
NuGet.ProjectModel (1)
LockFile\Utf8JsonStreamLockFileLibraryConverter.cs (1)
114
Sha512
= sha512,
10 references to Sha512
Microsoft.NET.Build.Tasks (1)
DependencyContextBuilder.cs (1)
66
dependencyLibrary.Sha512 = library.
Sha512
;
NuGet.Commands (4)
PackagesLockFileBuilder.cs (1)
54
ContentHash = libraryLookup[identity].
Sha512
,
RestoreCommand\LockFileBuilder.cs (1)
134
&& StringComparer.Ordinal.Equals(sha512, previousLibrary.
Sha512
))
RestoreCommand\RestoreCommand.cs (2)
1343
if (!librariesLookUp.TryGetValue(package, out var sha512) || sha512 != library.
Sha512
)
1351
_logger.LogVerbose(string.Format(CultureInfo.CurrentCulture, Strings.Log_PackageContentHashValidationFailed, package.ToString(), sha512, library.
Sha512
));
NuGet.ProjectModel (5)
LockFile\LockFileFormat.cs (2)
245
if (library.
Sha512
!= null)
248
writer.WriteValue(library.
Sha512
);
LockFile\LockFileLibrary.cs (3)
60
&& string.Equals(
Sha512
, other.
Sha512
, StringComparison.Ordinal)
75
combiner.AddObject(
Sha512
);