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