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