4 writes to InnerHtml
System.Windows.Forms.Tests (4)
System\Windows\Forms\HtmlElementTests.cs (4)
468
element.
InnerHtml
= value;
475
element.
InnerHtml
= value;
495
Assert.Throws<NotSupportedException>(() => element.
InnerHtml
= "InnerText");
510
Assert.Throws<NotSupportedException>(() => element.
InnerHtml
= "InnerHtml");
9 references to InnerHtml
System.Windows.Forms.Tests (9)
System\Windows\Forms\HtmlDocumentTests.cs (2)
1912
Assert.Equal(expectedInnerHtml, document.Body?.
InnerHtml
);
1929
Assert.Equal(expectedInnerHtml, document.Body?.
InnerHtml
);
System\Windows\Forms\HtmlElementTests.cs (7)
68
Assert.Equal(document.Body.
InnerHtml
, result.Body.
InnerHtml
);
404
Assert.Null(element.
InnerHtml
);
419
Assert.Equal("<P>InnerText</P>", element.
InnerHtml
);
444
Assert.Equal(expected, element.
InnerHtml
);
469
Assert.Equal(expected, element.
InnerHtml
);
476
Assert.Equal(expected, element.
InnerHtml
);