19 references to Hash
Microsoft.DotNet.SignTool (19)
src\ByteSequenceComparer.cs (2)
69return Hash.GetFNVHashCode(x); 75return Hash.GetFNVHashCode(x);
src\ExplicitCertificateKey.cs (2)
30=> Hash.Combine(Hash.Combine(FileName.GetHashCode(), PublicKeyToken.GetHashCode()), TargetFramework.GetHashCode());
src\Hash.cs (14)
62hashCode = Hash.Combine(value.GetHashCode(), hashCode); 86hashCode = Hash.Combine(value.GetHashCode(), hashCode); 112hashCode = Hash.Combine(value.GetHashCode(), hashCode); 137hashCode = Hash.Combine(stringComparer.GetHashCode(value), hashCode); 164int hashCode = Hash.FnvOffsetBias; 168hashCode = unchecked((hashCode ^ data[i]) * Hash.FnvPrime); 186int hashCode = Hash.FnvOffsetBias; 194hashCode = unchecked((hashCode ^ b) * Hash.FnvPrime); 209int hashCode = Hash.FnvOffsetBias; 213hashCode = unchecked((hashCode ^ data[i]) * Hash.FnvPrime); 233int hashCode = Hash.FnvOffsetBias; 238hashCode = unchecked((hashCode ^ text[i]) * Hash.FnvPrime); 255hashCode = unchecked((hashCode ^ ch) * Hash.FnvPrime); 270return unchecked((hashCode ^ ch) * Hash.FnvPrime);
src\SignedFileContentKey.cs (1)
45=> Hash.Combine(FileName, StringHash.GetHashCode());