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