2 references to GetFontFromIFont
System.Windows.Forms.Tests (2)
System\Windows\Forms\AxHostTests.cs (2)
1434Assert.Null(SubAxHost.GetFontFromIFont(null)); 1440Assert.Throws<InvalidCastException>(() => SubAxHost.GetFontFromIFont(new object()));