26 references to Hash
Microsoft.CodeAnalysis.InteractiveHost (26)
src\Compilers\Core\Portable\FileSystem\PathUtilities.cs (1)
694hc = Hash.Combine(char.ToUpperInvariant(ch), hc);
src\Compilers\Core\Portable\InternalUtilities\Hash.cs (25)
64hashCode = Hash.Combine(value.GetHashCode(), hashCode); 84hashCode = Hash.Combine(value.GetHashCode(), hashCode); 107hashCode = Hash.Combine(value.GetHashCode(), hashCode); 133hashCode = Hash.Combine(value.GetHashCode(), hashCode); 158hashCode = Hash.Combine(stringComparer.GetHashCode(value), hashCode); 178hashCode = Hash.Combine(stringComparer.GetHashCode(value), hashCode); 204int hashCode = Hash.FnvOffsetBias; 208hashCode = unchecked((hashCode ^ data[i]) * Hash.FnvPrime); 225int hashCode = Hash.FnvOffsetBias; 233hashCode = unchecked((hashCode ^ b) * Hash.FnvPrime); 248int hashCode = Hash.FnvOffsetBias; 252hashCode = unchecked((hashCode ^ data[i]) * Hash.FnvPrime); 268return CombineFNVHash(Hash.FnvOffsetBias, data); 293int hashCode = Hash.FnvOffsetBias; 297hashCode = unchecked((hashCode ^ CaseInsensitiveComparison.ToLower(data[i])) * Hash.FnvPrime); 323return CombineFNVHash(Hash.FnvOffsetBias, text); 334int hashCode = Hash.FnvOffsetBias; 348hashCode = unchecked((hashCode ^ text[i]) * Hash.FnvPrime); 365int hashCode = Hash.FnvOffsetBias; 370hashCode = unchecked((hashCode ^ text[i]) * Hash.FnvPrime); 387return Hash.CombineFNVHash(Hash.FnvOffsetBias, ch); 401hashCode = unchecked((hashCode ^ ch) * Hash.FnvPrime); 416return unchecked((hashCode ^ ch) * Hash.FnvPrime); 430hashCode = unchecked((hashCode ^ data[i]) * Hash.FnvPrime);