1 write to _link
System.Windows.Forms.Tests (1)
System\Windows\Forms\LinkCollectionTests.cs (1)
19
_link
= new(_linkLabel) { Name = "TestLink" };
11 references to _link
System.Windows.Forms.Tests (11)
System\Windows\Forms\LinkCollectionTests.cs (11)
30
_linkCollection.Add(
_link
);
32
_linkCollection[0].Should().BeSameAs(
_link
);
39
_linkCollection.Add(
_link
);
49
_linkCollection.Add(
_link
);
63
_linkCollection.Add(
_link
);
67
_linkCollection[key].Should().BeSameAs(
_link
);
100
_linkCollection.IndexOf(
_link
).Should().Be(-1);
110
_linkCollection.Add(
_link
);
113
_linkCollection.Contains(
_link
).Should().Be(expected);
121
_linkCollection.Add(
_link
);
124
_linkCollection.Contains(
_link
).Should().Be(expected);