5 instantiations of GetFileHash
Microsoft.Build.Tasks.UnitTests (5)
GetFileHash_Tests.cs (5)
29
GetFileHash task = new
GetFileHash
42
GetFileHash task = new
GetFileHash
55
GetFileHash task = new
GetFileHash
68
GetFileHash task = new
GetFileHash
83
GetFileHash task = new
GetFileHash
11 references to GetFileHash
Microsoft.Build.Tasks.Core (6)
FileIO\VerifyFileHash.cs (6)
33
public string HashEncoding { get; set; } =
GetFileHash
._hashEncodingHex;
38
public string Algorithm { get; set; } =
GetFileHash
._defaultFileHashAlgorithm;
48
if (!
GetFileHash
.SupportedAlgorithms.TryGetValue(Algorithm, out var algorithmFactory))
54
if (!
GetFileHash
.TryParseHashEncoding(HashEncoding, out var encoding))
60
byte[] hash =
GetFileHash
.ComputeHash(algorithmFactory, File, _cancellationTokenSource.Token);
61
string actualHash =
GetFileHash
.EncodeHash(encoding, hash);
Microsoft.Build.Tasks.UnitTests (5)
GetFileHash_Tests.cs (5)
29
GetFileHash
task = new GetFileHash
42
GetFileHash
task = new GetFileHash
55
GetFileHash
task = new GetFileHash
68
GetFileHash
task = new GetFileHash
83
GetFileHash
task = new GetFileHash