3 writes to Name
System.Windows.Forms.Tests (3)
System\Windows\Forms\LinkCollectionTests.cs (2)
19
_link = new(_linkLabel) {
Name
= "TestLink" };
38
Link link2 = new(_linkLabel) {
Name
= "TestLink2" };
System\Windows\Forms\LinkTests.cs (1)
134
Name
= value
9 references to Name
System.Windows.Forms (2)
System\Windows\Forms\Controls\Labels\LinkLabel.LinkCollection.cs (2)
268
if (WindowsFormsUtils.SafeCompareStrings(this[_lastAccessedIndex].
Name
, key, /* ignoreCase = */ true))
277
if (WindowsFormsUtils.SafeCompareStrings(this[i].
Name
, key, /* ignoreCase = */ true))
System.Windows.Forms.Tests (7)
System\Windows\Forms\LinkConverterTests.cs (2)
144
Assert.Equal(expectedLink.
Name
, actualLink.
Name
);
System\Windows\Forms\LinkTests.cs (5)
17
Assert.Empty(link.
Name
);
36
Assert.Empty(link.
Name
);
55
Assert.Empty(link.
Name
);
136
Assert.Equal(expected, link.
Name
);
140
Assert.Equal(expected, link.
Name
);