4 references to Contains
System.Windows.Forms (4)
winforms\Managed\System\WinForms\StatusStrip.cs (2)
339inDisplayedItemCollecton = DisplayedItems.Contains(item); 348if (itemCount != DisplayedItems.Count || (item != null && (inDisplayedItemCollecton != DisplayedItems.Contains(item)))) {
winforms\Managed\System\WinForms\ToolStripItem.cs (2)
2494if (this.ParentInternal.Items.Contains(this) && this.ParentInternal.AllowItemReorder) { 2535Debug.Assert(this.Owner.Items.Contains(this), "How can there be a owner and not be in the collection?");