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