16 references to Contains
System.Windows.Forms.Design (2)
System\ComponentModel\Design\MenuCommandService.cs (2)
124
if (!((IMenuCommandService)this).Verbs.
Contains
(verb))
521
if (((IMenuCommandService)this).Verbs.
Contains
(verb))
System.Windows.Forms.Design.Tests (14)
System\ComponentModel\Design\DesignerVerbCollectionTests.cs (14)
44
Assert.True(collection.
Contains
(value1));
50
Assert.True(collection.
Contains
(value2));
55
Assert.True(collection.
Contains
(null));
102
Assert.True(collection.
Contains
(value1));
108
Assert.True(collection.
Contains
(value2));
113
Assert.True(collection.
Contains
(null));
127
Assert.False(collection.
Contains
(value));
133
Assert.False(collection.
Contains
(null));
149
Assert.False(collection.
Contains
(value1));
151
Assert.True(collection.
Contains
(value2));
157
Assert.False(collection.
Contains
(value2));
159
Assert.True(collection.
Contains
(null));
182
Assert.False(collection.
Contains
(new DesignerVerb(null, null)));
183
Assert.False(collection.
Contains
(null));