11 writes to EditValue
System.Windows.Forms.Design (3)
System\ComponentModel\Design\CollectionEditor.CollectionForm.cs (1)
113EditValue = newValue;
System\ComponentModel\Design\CollectionEditor.cs (2)
231localCollectionForm.EditValue = value; 268localCollectionForm.EditValue = null;
System.Windows.Forms.Design.Tests (8)
System\ComponentModel\Design\CollectionFormTests.cs (8)
43EditValue = value 49form.EditValue = value; 88EditValue = new List<int> { 1, 2 }, 199EditValue = new List<int> { 1, 2 }, 258EditValue = new List<int> { 1, 2 }, 317EditValue = new List<int> { 1, 2 }, 378EditValue = new List<int> { 1, 2 }, 433EditValue = new List<int> { 1, 2 },
23 references to EditValue
System.Windows.Forms.Design (7)
System\ComponentModel\Design\CollectionEditor.CollectionEditorCollectionForm.cs (1)
749if (EditValue is not null)
System\ComponentModel\Design\CollectionEditor.CollectionForm.cs (4)
56if (EditValue is IList list) 91get => _editor.GetItems(EditValue); 110object? newValue = _editor.SetItems(EditValue, value); 111if (newValue != EditValue)
System\ComponentModel\Design\CollectionEditor.cs (1)
259value = localCollectionForm.EditValue;
System\Windows\Forms\Design\TreeNodeCollectionEditor.cs (1)
407if (EditValue is not null)
System.Windows.Forms.Design.Tests (16)
System\ComponentModel\Design\CollectionFormTests.cs (16)
25Assert.Null(form.EditValue); 45Assert.Same(value, form.EditValue); 50Assert.Same(value, form.EditValue); 70Assert.Null(form.EditValue); 76Assert.Null(form.EditValue); 93Assert.Equal(new object[] { 1, 2 }, form.EditValue); 99Assert.Equal(new object[] { 1, 2 }, form.EditValue); 145Assert.Null(form.EditValue); 153Assert.Null(form.EditValue); 204Assert.Equal(value ?? Array.Empty<object>(), form.EditValue); 212Assert.Equal(value ?? Array.Empty<object>(), form.EditValue); 263Assert.Equal("CustomSetItems", form.EditValue); 271Assert.Equal("CustomSetItems", form.EditValue); 322Assert.Equal(new object[] { 1, 2 }, form.EditValue); 330Assert.Equal(new object[] { 1, 2 }, form.EditValue); 438Assert.Equal(new object[] { 1, 2 }, form.EditValue);