5 writes to DocumentStream
System.Windows.Forms (1)
System\Windows\Forms\Controls\WebBrowser\WebBrowser.cs (1)
332
DocumentStream
= ms;
System.Windows.Forms.Tests (4)
System\Windows\Forms\WebBrowserTests.cs (4)
578
await Task.Run(() => control.
DocumentStream
= value);
584
control.
DocumentStream
= null;
599
Assert.Throws<ObjectDisposedException>(() => control.
DocumentStream
= null);
611
Assert.Throws<InvalidOperationException>(() => control.
DocumentStream
= null);
7 references to DocumentStream
System.Windows.Forms (1)
System\Windows\Forms\Controls\WebBrowser\WebBrowser.cs (1)
311
using Stream? stream =
DocumentStream
;
System.Windows.Forms.Tests (6)
System\Windows\Forms\WebBrowserTests.cs (6)
501
Assert.Null(control.
DocumentStream
);
515
Assert.Null(control.
DocumentStream
);
536
MemoryStream documentStream = Assert.IsType<MemoryStream>(control.
DocumentStream
);
538
Assert.NotSame(documentStream, control.
DocumentStream
);
550
Assert.Throws<ObjectDisposedException>(() => control.
DocumentStream
);
562
Assert.Throws<InvalidOperationException>(() => control.
DocumentStream
);