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