-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Include FontName in Font.GetHashCode (#47674)
* Update Font.cs * Added test for GetHashCode pr #46816 * Added SkipOnTargetFramework as GetHashCode doesn't include font name in .NET Framework and changed FontFamily to SansSarif as per PR #47674. Fixes #44343. Original PR #46816. * Update FontTests.cs * Fix test, skip font if name is equal Co-authored-by: Dan Moseley <danmose@microsoft.com> Co-authored-by: Santiago Fernandez Madero <safern@microsoft.com>
- Loading branch information
1 parent
57104c7
commit f39d544
Showing
2 changed files
with
18 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters