4 references to SetItems
System.Windows.Forms.Design.Tests (4)
System\ComponentModel\Design\ArrayEditorTests.cs (4)
183
int[] result = Assert.IsType<int[]>(editor.
SetItems
(editValue, value));
202
Assert.Same(expected, editor.
SetItems
(editValue, value));
212
Assert.Throws<ArgumentNullException>("elementType", () => editor.
SetItems
(null, Array.Empty<object>()));
213
Assert.Throws<ArgumentNullException>("elementType", () => editor.
SetItems
(Array.Empty<object>(), Array.Empty<object>()));