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