20 references to HashFn
PresentationCore (20)
MS\Internal\FontCache\CanonicalFontFamilyReference.cs (2)
140hash = HashFn.HashMultiply(hash) + _familyName.GetHashCode(); 141return HashFn.HashScramble(hash);
MS\Internal\FontCache\FontSource.cs (1)
115return HashFn.HashString(ToStringUpperInvariant(), 0);
MS\Internal\FontFace\FontFamilyIdentifier.cs (5)
167hash = HashFn.HashMultiply(hash) + family.GetHashCode(); 171return HashFn.HashScramble(hash); 447hash += HashFn.HashMultiply(_baseUri.GetHashCode()); 450hash = HashFn.HashMultiply(hash) + _name.GetHashCode(); 452return HashFn.HashScramble(hash);
MS\Internal\Shaping\ShapeTypeface.cs (4)
40return HashFn.HashMultiply(_glyphTypeface.GetHashCode()) 124hash = HashFn.HashMultiply(hash) + (int)(_nullShape ? 1 : 0); 125hash = HashFn.HashMultiply(hash) + _scaleInEm.GetHashCode(); 126return HashFn.HashScramble(hash);
System\Windows\Media\textformatting\NumberSubstitution.cs (3)
229int hash = HashFn.HashMultiply((int)_source) + (int)_substitution; 232hash = HashFn.HashMultiply(hash) + _cultureOverride.GetHashCode(); 234return HashFn.HashScramble(hash);
System\Windows\Media\Typeface.cs (5)
668hash = HashFn.HashMultiply(hash) + _fallbackFontFamily.GetHashCode(); 670hash = HashFn.HashMultiply(hash) + _style.GetHashCode(); 671hash = HashFn.HashMultiply(hash) + _weight.GetHashCode(); 672hash = HashFn.HashMultiply(hash) + _stretch.GetHashCode(); 673return HashFn.HashScramble(hash);