20 references to HashFn
PresentationCore (20)
MS\Internal\FontCache\CanonicalFontFamilyReference.cs (2)
141hash = HashFn.HashMultiply(hash) + _familyName.GetHashCode(); 142return HashFn.HashScramble(hash);
MS\Internal\FontCache\FontSource.cs (1)
116return HashFn.HashString(ToStringUpperInvariant(), 0);
MS\Internal\FontFace\FontFamilyIdentifier.cs (5)
168hash = HashFn.HashMultiply(hash) + family.GetHashCode(); 172return HashFn.HashScramble(hash); 448hash += HashFn.HashMultiply(_baseUri.GetHashCode()); 451hash = HashFn.HashMultiply(hash) + _name.GetHashCode(); 453return HashFn.HashScramble(hash);
MS\Internal\Shaping\ShapeTypeface.cs (4)
41return HashFn.HashMultiply(_glyphTypeface.GetHashCode()) 125hash = HashFn.HashMultiply(hash) + (int)(_nullShape ? 1 : 0); 126hash = HashFn.HashMultiply(hash) + _scaleInEm.GetHashCode(); 127return HashFn.HashScramble(hash);
System\Windows\Media\textformatting\NumberSubstitution.cs (3)
233int hash = HashFn.HashMultiply((int)_source) + (int)_substitution; 236hash = HashFn.HashMultiply(hash) + _cultureOverride.GetHashCode(); 238return HashFn.HashScramble(hash);
System\Windows\Media\Typeface.cs (5)
669hash = HashFn.HashMultiply(hash) + _fallbackFontFamily.GetHashCode(); 671hash = HashFn.HashMultiply(hash) + _style.GetHashCode(); 672hash = HashFn.HashMultiply(hash) + _weight.GetHashCode(); 673hash = HashFn.HashMultiply(hash) + _stretch.GetHashCode(); 674return HashFn.HashScramble(hash);