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