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