8 references to GetElementsByTagName
System.Windows.Forms.Tests (8)
System\Windows\Forms\HtmlDocumentTests.cs (8)
1770HtmlElementCollection collection = document.GetElementsByTagName("form"); 1771Assert.NotSame(collection, document.GetElementsByTagName("form")); 1778Assert.Empty(document.GetElementsByTagName("NoSuchTagName")); 1779Assert.Equal("HTML", ((HtmlElement)Assert.Single(document.GetElementsByTagName("html"))).TagName); 1780Assert.Empty(document.GetElementsByTagName("")); 1795HtmlElementCollection collection = document.GetElementsByTagName("form"); 1796Assert.NotSame(collection, document.GetElementsByTagName("form")); 1814Assert.Throws<ArgumentException>(() => document.GetElementsByTagName(null));