20 references to HashFn
PresentationCore (20)
Core\CSharp\MS\Internal\FontCache\CanonicalFontFamilyReference.cs (2)
156
hash =
HashFn
.HashMultiply(hash) + _familyName.GetHashCode();
157
return
HashFn
.HashScramble(hash);
Core\CSharp\MS\Internal\FontCache\FontSource.cs (1)
139
return
HashFn
.HashString(ToStringUpperInvariant(), 0);
Core\CSharp\MS\Internal\FontFace\FontFamilyIdentifier.cs (5)
181
hash =
HashFn
.HashMultiply(hash) + family.GetHashCode();
185
return
HashFn
.HashScramble(hash);
466
hash +=
HashFn
.HashMultiply(_baseUri.GetHashCode());
469
hash =
HashFn
.HashMultiply(hash) + _name.GetHashCode();
471
return
HashFn
.HashScramble(hash);
Core\CSharp\MS\Internal\Shaping\ShapeTypeface.cs (4)
58
return
HashFn
.HashMultiply(_glyphTypeface.GetHashCode())
142
hash =
HashFn
.HashMultiply(hash) + (int)(_nullShape ? 1 : 0);
143
hash =
HashFn
.HashMultiply(hash) + _scaleInEm.GetHashCode();
144
return
HashFn
.HashScramble(hash);
Core\CSharp\System\Windows\Media\TextFormatting\NumberSubstitution.cs (3)
268
int hash =
HashFn
.HashMultiply((int)_source) + (int)_substitution;
271
hash =
HashFn
.HashMultiply(hash) + _cultureOverride.GetHashCode();
273
return
HashFn
.HashScramble(hash);
Core\CSharp\System\Windows\Media\Typeface.cs (5)
684
hash =
HashFn
.HashMultiply(hash) + _fallbackFontFamily.GetHashCode();
686
hash =
HashFn
.HashMultiply(hash) + _style.GetHashCode();
687
hash =
HashFn
.HashMultiply(hash) + _weight.GetHashCode();
688
hash =
HashFn
.HashMultiply(hash) + _stretch.GetHashCode();
689
return
HashFn
.HashScramble(hash);