5 writes to Algorithm
Microsoft.Build.Tasks.UnitTests (5)
VerifyFileHash_Tests.cs (5)
32
Algorithm
= "SHA256",
50
Algorithm
= "BANANA",
68
Algorithm
= "BANANA",
89
Algorithm
= algoritm,
108
Algorithm
= testBinary.HashAlgorithm,
3 references to Algorithm
Microsoft.Build.Tasks.Core (3)
FileIO\VerifyFileHash.cs (3)
48
if (!GetFileHash.SupportedAlgorithms.TryGetValue(
Algorithm
, out var algorithmFactory))
50
Log.LogErrorWithCodeFromResources("FileHash.UnrecognizedHashAlgorithm",
Algorithm
);
67
Log.LogErrorWithCodeFromResources("VerifyFileHash.HashMismatch", File,
Algorithm
, Hash, actualHash);