6 references to IndexOf
System.Windows.Forms (3)
System\Windows\Forms\Controls\Labels\LinkLabel.Link.LinkAccessibleObject.cs (1)
58
private int CurrentIndex => _owningLinkLabel.Links.
IndexOf
(_owningLink);
System\Windows\Forms\Controls\Labels\LinkLabel.LinkCollection.cs (2)
180
return
IndexOf
(value);
246
return
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);