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