6 references to IndexOf
System.Windows.Forms (3)
System\Windows\Forms\Controls\Labels\LinkLabel.Link.LinkAccessibleObject.cs (1)
58private int CurrentIndex => _owningLinkLabel.Links.IndexOf(_owningLink);
System\Windows\Forms\Controls\Labels\LinkLabel.LinkCollection.cs (2)
180return IndexOf(value); 246return IndexOf(link);
System.Windows.Forms.Tests (3)
System\Windows\Forms\LinkCollectionTests.cs (3)
99_linkCollection.IndexOf(validLink).Should().Be(0); 100_linkCollection.IndexOf(_link).Should().Be(-1); 101_linkCollection.IndexOf(null).Should().Be(-1);