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