11 writes to SelectionProtected
System.Windows.Forms.Tests (11)
System\Windows\Forms\RichTextBoxTests.cs (11)
5679SelectionProtected = value 5685control.SelectionProtected = value; 5690control.SelectionProtected = !value; 5708control.SelectionProtected = value; 5716control.SelectionProtected = value; 5724control.SelectionProtected = !value; 5739control.SelectionProtected = value; 5754control.SelectionProtected = value; 5759control.SelectionProtected = value; 5764control.SelectionProtected = !value; 5775Assert.Throws<ObjectDisposedException>(() => control.SelectionProtected = value);
16 references to SelectionProtected
System.Windows.Forms.Tests (16)
System\Windows\Forms\RichTextBoxTests.cs (16)
5593Assert.False(control.SelectionProtected); 5597Assert.False(control.SelectionProtected); 5613Assert.False(control.SelectionProtected); 5620Assert.False(control.SelectionProtected); 5654Assert.Equal(expected, control.SelectionProtected); 5661Assert.False(control.SelectionProtected); 5670Assert.Throws<ObjectDisposedException>(() => control.SelectionProtected); 5681Assert.Equal(value, control.SelectionProtected); 5686Assert.Equal(value, control.SelectionProtected); 5691Assert.Equal(!value, control.SelectionProtected); 5709Assert.Equal(value, control.SelectionProtected); 5717Assert.Equal(value, control.SelectionProtected); 5725Assert.Equal(!value, control.SelectionProtected); 5755Assert.False(control.SelectionProtected); 5760Assert.False(control.SelectionProtected); 5765Assert.False(control.SelectionProtected);