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)
578await Task.Run(() => control.DocumentStream = value); 584control.DocumentStream = null; 599Assert.Throws<ObjectDisposedException>(() => control.DocumentStream = null); 611Assert.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)
501Assert.Null(control.DocumentStream); 515Assert.Null(control.DocumentStream); 536MemoryStream documentStream = Assert.IsType<MemoryStream>(control.DocumentStream); 538Assert.NotSame(documentStream, control.DocumentStream); 550Assert.Throws<ObjectDisposedException>(() => control.DocumentStream); 562Assert.Throws<InvalidOperationException>(() => control.DocumentStream);