4 references to ExtractIcon
System.Drawing.Common.Tests (4)
System\Drawing\IconTests.cs (4)
787
Assert.Throws<ArgumentNullException>(() => { Icon.
ExtractIcon
(null!, 0); });
794
Assert.Throws<IOException>(() => { Icon.
ExtractIcon
(string.Empty, 0); });
817
Icon.
ExtractIcon
(Path.GetRandomFileName() + ".ico", 0);
826
Assert.Null(Icon.
ExtractIcon
(file.Path, 0));