4 instantiations of InvalidDigestException
Microsoft.NET.Build.Containers (4)
DigestUtils.cs (3)
142throw new InvalidDigestException( 152throw new InvalidDigestException( 158throw new InvalidDigestException(
Exceptions\InvalidDigestException.cs (1)
21throw 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 122InvalidDigestException.ThrowIfMismatched(expectedHash, actualHash); 128/// <see cref="InvalidDigestException"/> if the digest is malformed, uses an
Registry\Registry.cs (2)
421InvalidDigestException.ThrowIfMismatched(expectedHash, actualHash); 433catch (InvalidDigestException exception)
StreamExtensions.cs (1)
34InvalidDigestException.ThrowIfMismatched(expectedHash, hashAlgorithm.Hash ?? []);