5 writes to DocumentStream
System.Windows.Forms (1)
System\Windows\Forms\Controls\WebBrowser\WebBrowser.cs (1)
332DocumentStream = ms;
System.Windows.Forms.Tests (4)
System\Windows\Forms\WebBrowserTests.cs (4)
580await Task.Run(() => control.DocumentStream = value); 586control.DocumentStream = null; 601Assert.Throws<ObjectDisposedException>(() => control.DocumentStream = null); 613Assert.Throws<InvalidOperationException>(() => control.DocumentStream = null);
7 references to DocumentStream
System.Windows.Forms (1)
System\Windows\Forms\Controls\WebBrowser\WebBrowser.cs (1)
311using Stream? stream = DocumentStream;
System.Windows.Forms.Tests (6)
System\Windows\Forms\WebBrowserTests.cs (6)
503Assert.Null(control.DocumentStream); 517Assert.Null(control.DocumentStream); 538MemoryStream documentStream = Assert.IsType<MemoryStream>(control.DocumentStream); 540Assert.NotSame(documentStream, control.DocumentStream); 552Assert.Throws<ObjectDisposedException>(() => control.DocumentStream); 564Assert.Throws<InvalidOperationException>(() => control.DocumentStream);