4 instantiations of InvalidDigestException
Microsoft.NET.Build.Containers (4)
DigestUtils.cs (3)
142
throw new
InvalidDigestException
(
152
throw new
InvalidDigestException
(
158
throw new
InvalidDigestException
(
Exceptions\InvalidDigestException.cs (1)
21
throw new
InvalidDigestException
($"Expected {expectedHashString}, got {actualHashString}.");
6 references to InvalidDigestException
Microsoft.NET.Build.Containers (6)
DigestUtils.cs (3)
68
/// algorithms. Throws <see cref="
InvalidDigestException
"/> if the digest
122
InvalidDigestException
.ThrowIfMismatched(expectedHash, actualHash);
128
/// <see cref="
InvalidDigestException
"/> if the digest is malformed, uses an
Registry\Registry.cs (2)
421
InvalidDigestException
.ThrowIfMismatched(expectedHash, actualHash);
433
catch (
InvalidDigestException
exception)
StreamExtensions.cs (1)
34
InvalidDigestException
.ThrowIfMismatched(expectedHash, hashAlgorithm.Hash ?? []);