11 references to StringHashingAlgorithm
Microsoft.Build (10)
Evaluation\Expander.cs (2)
4300else if (TryGetArgs(args, out string arg1, out string arg2) && Enum.TryParse<IntrinsicFunctions.StringHashingAlgorithm>(arg2, true, out var hashAlgorithm))
Evaluation\IntrinsicFunctions.cs (8)
433=> StableStringHash(toHash, StringHashingAlgorithm.Legacy); 435internal static object StableStringHash(string toHash, StringHashingAlgorithm algo) => 438StringHashingAlgorithm.Legacy => CommunicationsUtilities.GetHashCode(toHash), 439StringHashingAlgorithm.Fnv1a32bit => FowlerNollVo1aHash.ComputeHash32(toHash), 440StringHashingAlgorithm.Fnv1a32bitFast => FowlerNollVo1aHash.ComputeHash32Fast(toHash), 441StringHashingAlgorithm.Fnv1a64bit => FowlerNollVo1aHash.ComputeHash64(toHash), 442StringHashingAlgorithm.Fnv1a64bitFast => FowlerNollVo1aHash.ComputeHash64Fast(toHash), 443StringHashingAlgorithm.Sha256 => CalculateSha256(toHash),
Microsoft.Build.Engine.UnitTests (1)
Evaluation\Expander_Tests.cs (1)
3950=> Enum.GetNames(typeof(IntrinsicFunctions.StringHashingAlgorithm))