4 writes to Encoding
System.Windows.Forms (1)
System\Windows\Forms\Controls\WebBrowser\WebBrowser.WebBrowserEvent.cs (1)
87htmlDocument.Encoding = "unicode";
System.Windows.Forms.Tests (3)
System\Windows\Forms\HtmlDocumentTests.cs (3)
641document.Encoding = value; 648document.Encoding = value; 670Assert.Throws<ArgumentException>(() => document.Encoding = value);
6 references to Encoding
System.Windows.Forms.Tests (6)
System\Windows\Forms\HtmlDocumentTests.cs (6)
583Assert.NotEmpty(document.Encoding); 584Assert.DoesNotContain('\0', document.Encoding); 598Assert.Equal("utf-8", document.Encoding); 619Assert.Equal("utf-8", document.Encoding); 642Assert.Equal(expected, document.Encoding); 649Assert.Equal(expected, document.Encoding);