4 references to GetName
System.Drawing.Common.Tests (4)
System\Drawing\FontFamilyTests.cs (3)
158
Assert.Equal(fontFamily.
GetName
(0).GetHashCode(), fontFamily.GetHashCode());
225
Assert.Equal(expectedName, fontFamily.
GetName
(languageCode));
237
AssertExtensions.Throws<ArgumentException>(null, () => family.
GetName
(0));
System\Drawing\Text\PrivateFontCollectionTests.cs (1)
86
Assert.Equal("Bonjour", fontFamily.
GetName
(FrenchLCID));