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