20 references to HashFn
PresentationCore (20)
MS\Internal\FontCache\CanonicalFontFamilyReference.cs (2)
145hash = HashFn.HashMultiply(hash) + _familyName.GetHashCode(); 146return HashFn.HashScramble(hash);
MS\Internal\FontCache\FontSource.cs (1)
126return HashFn.HashString(ToStringUpperInvariant(), 0);
MS\Internal\FontFace\FontFamilyIdentifier.cs (5)
180hash = HashFn.HashMultiply(hash) + family.GetHashCode(); 184return HashFn.HashScramble(hash); 460hash += HashFn.HashMultiply(_baseUri.GetHashCode()); 463hash = HashFn.HashMultiply(hash) + _name.GetHashCode(); 465return HashFn.HashScramble(hash);
MS\Internal\Shaping\ShapeTypeface.cs (4)
56return HashFn.HashMultiply(_glyphTypeface.GetHashCode()) 140hash = HashFn.HashMultiply(hash) + (int)(_nullShape ? 1 : 0); 141hash = HashFn.HashMultiply(hash) + _scaleInEm.GetHashCode(); 142return HashFn.HashScramble(hash);
System\Windows\Media\textformatting\NumberSubstitution.cs (3)
247int hash = HashFn.HashMultiply((int)_source) + (int)_substitution; 250hash = HashFn.HashMultiply(hash) + _cultureOverride.GetHashCode(); 252return HashFn.HashScramble(hash);
System\Windows\Media\Typeface.cs (5)
678hash = HashFn.HashMultiply(hash) + _fallbackFontFamily.GetHashCode(); 680hash = HashFn.HashMultiply(hash) + _style.GetHashCode(); 681hash = HashFn.HashMultiply(hash) + _weight.GetHashCode(); 682hash = HashFn.HashMultiply(hash) + _stretch.GetHashCode(); 683return HashFn.HashScramble(hash);