37 references to new
System.Windows.Forms.Design.Tests (37)
System\ComponentModel\Design\CollectionEditorTests.cs (37)
32SubCollectionEditor editor = new(type); 45Assert.Throws<ArgumentNullException>(() => new SubCollectionEditor(null)); 51SubCollectionEditor editor = new(typeof(string)); 67SubCollectionEditor editor = new(typeof(string)); 86SubCollectionEditor editor = new(typeof(string)); 93SubCollectionEditor editor = new(typeof(string)); 100SubCollectionEditor editor = new(typeof(List<int>)); 117SubCollectionEditor editor = new(type); 154SubCollectionEditor editor = new(typeof(List<int>)); 212SubCollectionEditor editor = new(typeof(List<int>)); 263SubCollectionEditor editor = new(typeof(List<int>)); 316SubCollectionEditor editor = new(typeof(List<int>)); 335SubCollectionEditor editor = new(typeof(string)); 342SubCollectionEditor editor = new(typeof(string)); 358SubCollectionEditor editor = new(type); 374SubCollectionEditor editor = new(typeof(string)); 403SubCollectionEditor editor = new(typeof(List<int>)); 456SubCollectionEditor editor = new(typeof(List<int>)); 474SubCollectionEditor editor = new(typeof(string)); 487SubCollectionEditor editor = new(typeof(string)); 517SubCollectionEditor editor = new(typeof(List<int>)); 558SubCollectionEditor editor = new(typeof(List<int>)); 604SubCollectionEditor editor = new(typeof(List<int>)); 651SubCollectionEditor editor = new(typeof(List<int>)); 694SubCollectionEditor editor = new(typeof(List<int>)); 706SubCollectionEditor editor = new(typeof(string)); 748SubCollectionEditor editor = new(type); 755SubCollectionEditor editor = new(typeof(ClassWithStringDefaultProperty)); 772SubCollectionEditor editor = new(typeof(string)); 808SubCollectionEditor editor = new(typeof(List<int>)); 819SubCollectionEditor editor = new(typeof(int)); 833SubCollectionEditor editor = new(typeof(string)); 863SubCollectionEditor editor = new(typeof(string)); 872SubCollectionEditor editor = new(typeof(string)); 879SubCollectionEditor editor = new(typeof(List<int>)); 915SubCollectionEditor editor = new(typeof(List<int>)); 953SubCollectionEditor editor = new(typeof(List<int>));