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)
580
await Task.Run(() => control.
DocumentStream
= value);
586
control.
DocumentStream
= null;
601
Assert.Throws<ObjectDisposedException>(() => control.
DocumentStream
= null);
613
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)
503
Assert.Null(control.
DocumentStream
);
517
Assert.Null(control.
DocumentStream
);
538
MemoryStream documentStream = Assert.IsType<MemoryStream>(control.
DocumentStream
);
540
Assert.NotSame(documentStream, control.
DocumentStream
);
552
Assert.Throws<ObjectDisposedException>(() => control.
DocumentStream
);
564
Assert.Throws<InvalidOperationException>(() => control.
DocumentStream
);