4 references to Contains
System.Windows.Forms (1)
System\Windows\Forms\Controls\TreeView\TreeNodeCollection.cs (1)
377bool IList.Contains(object? node) => node is TreeNode treeNode && Contains(treeNode);
System.Windows.Forms.Tests (3)
System\Windows\Forms\TreeNodeCollectionTests.cs (3)
516bool result = collection.Contains(collection[nodeName]); 533collection.Contains(nodeToRemove).Should().BeFalse(); 536collection.Contains(nodeToRemove).Should().BeFalse();