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