11 writes to EditValue
System.Windows.Forms.Design (3)
System\ComponentModel\Design\CollectionEditor.CollectionForm.cs (1)
113
EditValue
= newValue;
System\ComponentModel\Design\CollectionEditor.cs (2)
231
localCollectionForm.
EditValue
= value;
268
localCollectionForm.
EditValue
= null;
System.Windows.Forms.Design.Tests (8)
System\ComponentModel\Design\CollectionFormTests.cs (8)
45
EditValue
= value
51
form.
EditValue
= value;
90
EditValue
= new List<int> { 1, 2 },
201
EditValue
= new List<int> { 1, 2 },
260
EditValue
= new List<int> { 1, 2 },
319
EditValue
= new List<int> { 1, 2 },
380
EditValue
= new List<int> { 1, 2 },
435
EditValue
= new List<int> { 1, 2 },
24 references to EditValue
System.Windows.Forms.Design (8)
System\ComponentModel\Design\CollectionEditor.CollectionEditorCollectionForm.cs (1)
749
if (
EditValue
is not null)
System\ComponentModel\Design\CollectionEditor.CollectionForm.cs (4)
56
if (
EditValue
is IList list)
91
get => _editor.GetItems(
EditValue
);
110
object? newValue = _editor.SetItems(
EditValue
, value);
111
if (newValue !=
EditValue
)
System\ComponentModel\Design\CollectionEditor.cs (1)
259
value = localCollectionForm.
EditValue
;
System\Windows\Forms\Design\ToolStripCollectionEditor.ToolStripItemEditorForm.cs (1)
430
Collection = (ToolStripItemCollection)
EditValue
;
System\Windows\Forms\Design\TreeNodeCollectionEditor.cs (1)
407
if (
EditValue
is not null)
System.Windows.Forms.Design.Tests (16)
System\ComponentModel\Design\CollectionFormTests.cs (16)
27
Assert.Null(form.
EditValue
);
47
Assert.Same(value, form.
EditValue
);
52
Assert.Same(value, form.
EditValue
);
72
Assert.Null(form.
EditValue
);
78
Assert.Null(form.
EditValue
);
95
Assert.Equal(new object[] { 1, 2 }, form.
EditValue
);
101
Assert.Equal(new object[] { 1, 2 }, form.
EditValue
);
147
Assert.Null(form.
EditValue
);
155
Assert.Null(form.
EditValue
);
206
Assert.Equal(value ?? Array.Empty<object>(), form.
EditValue
);
214
Assert.Equal(value ?? Array.Empty<object>(), form.
EditValue
);
265
Assert.Equal("CustomSetItems", form.
EditValue
);
273
Assert.Equal("CustomSetItems", form.
EditValue
);
324
Assert.Equal(new object[] { 1, 2 }, form.
EditValue
);
332
Assert.Equal(new object[] { 1, 2 }, form.
EditValue
);
440
Assert.Equal(new object[] { 1, 2 }, form.
EditValue
);