8 references to GetElementsByTagName
System.Windows.Forms.Tests (8)
System\Windows\Forms\HtmlDocumentTests.cs (8)
1768
HtmlElementCollection collection = document.
GetElementsByTagName
("form");
1769
Assert.NotSame(collection, document.
GetElementsByTagName
("form"));
1776
Assert.Empty(document.
GetElementsByTagName
("NoSuchTagName"));
1777
Assert.Equal("HTML", ((HtmlElement)Assert.Single(document.
GetElementsByTagName
("html"))).TagName);
1778
Assert.Empty(document.
GetElementsByTagName
(""));
1793
HtmlElementCollection collection = document.
GetElementsByTagName
("form");
1794
Assert.NotSame(collection, document.
GetElementsByTagName
("form"));
1812
Assert.Throws<ArgumentException>(() => document.
GetElementsByTagName
(null));