30 references to SafeCompareStrings
System.Windows.Forms (30)
System\Windows\Forms\Control.ControlCollection.cs (3)
198
if (WindowsFormsUtils.
SafeCompareStrings
(controlsToLookIn[i].Name, key, ignoreCase: true))
248
if (WindowsFormsUtils.
SafeCompareStrings
(this[_lastAccessedIndex].Name, key, /* ignoreCase = */ true))
257
if (WindowsFormsUtils.
SafeCompareStrings
(this[i].Name, key, /* ignoreCase = */ true))
System\Windows\Forms\Controls\ImageList\ImageList.ImageCollection.cs (2)
477
(WindowsFormsUtils.
SafeCompareStrings
(_imageInfoCollection[i].Name, key, ignoreCase: true)))
487
(WindowsFormsUtils.
SafeCompareStrings
(_imageInfoCollection[i].Name, key, ignoreCase: true)))
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\Controls\ListView\ListView.CheckedListViewItemCollection.cs (2)
244
if (WindowsFormsUtils.
SafeCompareStrings
(this[_lastAccessedIndex].Name, key, /* ignoreCase = */ true))
253
if (WindowsFormsUtils.
SafeCompareStrings
(this[i].Name, key, /* ignoreCase = */ true))
System\Windows\Forms\Controls\ListView\ListView.ColumnHeaderCollection.cs (2)
141
if (WindowsFormsUtils.
SafeCompareStrings
(this[_lastAccessedIndex].Name, key, /* ignoreCase = */ true))
150
if (WindowsFormsUtils.
SafeCompareStrings
(this[i].Name, key, /* ignoreCase = */ true))
System\Windows\Forms\Controls\ListView\ListView.ListViewItemCollection.cs (4)
283
if (WindowsFormsUtils.
SafeCompareStrings
(listViewItems[i].Name, key, ignoreCase: true))
294
if (WindowsFormsUtils.
SafeCompareStrings
(listViewItems[i].SubItems[j].Name, key, ignoreCase: true))
346
if (WindowsFormsUtils.
SafeCompareStrings
(this[_lastAccessedIndex].Name, key, /* ignoreCase = */ true))
355
if (WindowsFormsUtils.
SafeCompareStrings
(this[i].Name, key, /* ignoreCase = */ true))
System\Windows\Forms\Controls\ListView\ListView.SelectedListViewItemCollection.cs (2)
405
if (WindowsFormsUtils.
SafeCompareStrings
(this[_lastAccessedIndex].Name, key, /* ignoreCase = */ true))
414
if (WindowsFormsUtils.
SafeCompareStrings
(this[i].Name, key, /* ignoreCase = */ true))
System\Windows\Forms\Controls\ListView\ListViewItem.cs (1)
835
if (!WindowsFormsUtils.
SafeCompareStrings
(_toolTipText, value, ignoreCase: false))
System\Windows\Forms\Controls\ListView\ListViewItem.ListViewSubItemCollection.cs (2)
277
if (WindowsFormsUtils.
SafeCompareStrings
(this[_lastAccessedIndex].Name, key, ignoreCase: true))
285
if (WindowsFormsUtils.
SafeCompareStrings
(this[i].Name, key, ignoreCase: true))
System\Windows\Forms\Controls\TabControl\TabControl.TabPageCollection.cs (2)
197
if (WindowsFormsUtils.
SafeCompareStrings
(this[_lastAccessedIndex].Name, key, ignoreCase: true))
206
if (WindowsFormsUtils.
SafeCompareStrings
(this[i].Name, key, ignoreCase: true))
System\Windows\Forms\Controls\ToolStrips\ToolStripItemCollection.cs (3)
266
if (WindowsFormsUtils.
SafeCompareStrings
(itemsToLookIn[i].Name, key, ignoreCase: true))
353
if (WindowsFormsUtils.
SafeCompareStrings
(this[_lastAccessedIndex].Name, key, /* ignoreCase = */ true))
362
if (WindowsFormsUtils.
SafeCompareStrings
(this[i].Name, key, /* ignoreCase = */ true))
System\Windows\Forms\Controls\ToolStrips\ToolStripManager.cs (1)
1042
if (WindowsFormsUtils.
SafeCompareStrings
(source.Text, candidateItem.Text, true))
System\Windows\Forms\Controls\TreeView\TreeNodeCollection.cs (3)
265
if (WindowsFormsUtils.
SafeCompareStrings
(treeNodeCollectionToLookIn[i].Name, key, ignoreCase: true))
411
if (WindowsFormsUtils.
SafeCompareStrings
(this[_lastAccessedIndex].Name, key, ignoreCase: true))
420
if (WindowsFormsUtils.
SafeCompareStrings
(this[i].Name, key, ignoreCase: true))
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutSettings.TableLayoutSettingsStub.cs (1)
55
if (WindowsFormsUtils.
SafeCompareStrings
(name, controlName as string, ignoreCase: false))