66 references to Contains
System.Windows.Forms.Design.Tests (66)
System\ComponentModel\Design\DesignerActionServiceTests.cs (66)
58Assert.True(service.Contains(component)); 84Assert.True(service.Contains(component)); 114Assert.True(service.Contains(component)); 140Assert.True(service.Contains(component)); 169Assert.True(service.Contains(component)); 173Assert.False(service.Contains(component)); 178Assert.False(service.Contains(component)); 231Assert.False(service.Contains(new Component())); 239Assert.False(service.Contains(new Component())); 246Assert.Throws<ArgumentNullException>("comp", () => service.Contains(null)); 664Assert.True(service.Contains(component)); 668Assert.False(service.Contains(component)); 673Assert.False(service.Contains(component)); 698Assert.False(service.Contains(component1)); 703Assert.False(service.Contains(component1)); 709Assert.False(service.Contains(component2)); 752Assert.False(service.Contains(component1)); 753Assert.True(service.Contains(component2)); 754Assert.True(service.Contains(component3)); 755Assert.True(service.Contains(component4)); 763Assert.False(service.Contains(component1)); 764Assert.True(service.Contains(component2)); 765Assert.True(service.Contains(component3)); 766Assert.True(service.Contains(component4)); 774Assert.False(service.Contains(component1)); 775Assert.True(service.Contains(component2)); 776Assert.True(service.Contains(component3)); 777Assert.True(service.Contains(component4)); 795Assert.False(service.Contains(component1)); 798Assert.True(service.Contains(component2)); 799Assert.False(service.Contains(component3)); 803Assert.False(service.Contains(component2)); 804Assert.True(service.Contains(component3)); 807Assert.True(service.Contains(component4)); 825Assert.False(service.Contains(component1)); 828Assert.True(service.Contains(component2)); 829Assert.False(service.Contains(component3)); 833Assert.False(service.Contains(component2)); 834Assert.True(service.Contains(component3)); 837Assert.True(service.Contains(component4)); 880Assert.False(service.Contains(component1)); 885Assert.False(service.Contains(component1)); 891Assert.False(service.Contains(component2)); 919Assert.False(service.Contains(component1)); 920Assert.True(service.Contains(component2)); 921Assert.True(service.Contains(component3)); 922Assert.True(service.Contains(component4)); 930Assert.False(service.Contains(component1)); 931Assert.True(service.Contains(component2)); 932Assert.True(service.Contains(component3)); 933Assert.True(service.Contains(component4)); 941Assert.False(service.Contains(component1)); 942Assert.True(service.Contains(component2)); 943Assert.True(service.Contains(component3)); 944Assert.True(service.Contains(component4)); 952Assert.False(service.Contains(component1)); 953Assert.False(service.Contains(component2)); 954Assert.True(service.Contains(component3)); 955Assert.True(service.Contains(component4)); 963Assert.False(service.Contains(component1)); 964Assert.False(service.Contains(component2)); 965Assert.True(service.Contains(component3)); 966Assert.True(service.Contains(component4)); 1010Assert.False(service.Contains(component1)); 1015Assert.False(service.Contains(component1)); 1021Assert.False(service.Contains(component2));