14 writes to DocumentText
System.Windows.Forms (2)
System\Windows\Forms\Controls\WebBrowser\WebBrowser.cs (2)
836
DocumentText
= text;
863
DocumentText
= text;
System.Windows.Forms.Tests (12)
System\Windows\Forms\WebBrowserTests.cs (12)
688
DocumentText
= value
696
control.
DocumentText
= value;
713
control.
DocumentText
= value;
720
control.
DocumentText
= value;
787
await Task.Run(() => control.
DocumentText
= Html);
801
await Task.Run(() => control.
DocumentText
= Html);
814
control.
DocumentText
= null;
820
control.
DocumentText
= string.Empty;
835
Assert.Throws<ObjectDisposedException>(() => control.
DocumentText
= null);
847
Assert.Throws<InvalidOperationException>(() => control.
DocumentText
= null);
4024
await Task.Run(() => control.
DocumentText
= Html);
4173
await Task.Run(() => control.
DocumentText
= Html);
21 references to DocumentText
System.Windows.Forms (2)
System\Windows\Forms\Controls\WebBrowser\WebBrowser.cs (2)
834
string text =
DocumentText
;
861
string text =
DocumentText
;
System.Windows.Forms.Tests (19)
System\Windows\Forms\WebBrowserTests.cs (19)
580
Assert.Equal(Html, control.
DocumentText
);
586
Assert.Equal(Html, control.
DocumentText
);
618
Assert.Empty(control.
DocumentText
);
632
Assert.Empty(control.
DocumentText
);
653
string documentText = control.
DocumentText
;
654
Assert.Equal(documentText, control.
DocumentText
);
655
Assert.NotSame(documentText, control.
DocumentText
);
667
Assert.Throws<ObjectDisposedException>(() => control.
DocumentText
);
679
Assert.Throws<InvalidOperationException>(() => control.
DocumentText
);
690
Assert.NotEmpty(control.
DocumentText
);
691
Assert.DoesNotContain('\0', control.
DocumentText
);
697
Assert.NotEmpty(control.
DocumentText
);
698
Assert.DoesNotContain('\0', control.
DocumentText
);
714
Assert.NotEmpty(control.
DocumentText
);
715
Assert.DoesNotContain('\0', control.
DocumentText
);
721
Assert.NotEmpty(control.
DocumentText
);
722
Assert.DoesNotContain('\0', control.
DocumentText
);
816
Assert.Equal(Html, control.
DocumentText
);
822
Assert.Equal(Html, control.
DocumentText
);