44 references to ThrowIfNotEqual
System.Linq.Expressions (1)
System\Dynamic\DynamicMetaObjectBinder.cs (1)
57ArgumentOutOfRangeException.ThrowIfNotEqual(args.Length, parameters.Count);
System.ObjectModel (1)
System\Collections\Specialized\NotifyCollectionChangedEventArgs.cs (1)
331ArgumentOutOfRangeException.ThrowIfNotEqual(index, 0);
System.Private.Xml (3)
System\Xml\Dom\XmlNamedNodeMap.SmallXmlNodeList.cs (3)
48ArgumentOutOfRangeException.ThrowIfNotEqual(index, 0); 99ArgumentOutOfRangeException.ThrowIfNotEqual(index, 0); 108ArgumentOutOfRangeException.ThrowIfNotEqual(index, 0);
System.Windows.Forms (20)
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (4)
7057ArgumentOutOfRangeException.ThrowIfNotEqual(columnIndex, -1); 7068ArgumentOutOfRangeException.ThrowIfNotEqual(rowIndex, -1); 26760ArgumentOutOfRangeException.ThrowIfNotEqual(columnIndex, -1); 26764ArgumentOutOfRangeException.ThrowIfNotEqual(rowIndex, -1);
System\Windows\Forms\Controls\DataGridView\DataGridViewColumnHeaderCell.cs (7)
125ArgumentOutOfRangeException.ThrowIfNotEqual(rowIndex, -1); 215ArgumentOutOfRangeException.ThrowIfNotEqual(rowIndex, -1); 268ArgumentOutOfRangeException.ThrowIfNotEqual(rowIndex, -1); 282ArgumentOutOfRangeException.ThrowIfNotEqual(rowIndex, -1); 482ArgumentOutOfRangeException.ThrowIfNotEqual(rowIndex, -1); 707ArgumentOutOfRangeException.ThrowIfNotEqual(rowIndex, -1); 1190ArgumentOutOfRangeException.ThrowIfNotEqual(rowIndex, -1);
System\Windows\Forms\Controls\DataGridView\DataGridViewHeaderCell.cs (6)
262ArgumentOutOfRangeException.ThrowIfNotEqual(rowIndex, -1); 283ArgumentOutOfRangeException.ThrowIfNotEqual(rowIndex, -1); 347ArgumentOutOfRangeException.ThrowIfNotEqual(rowIndex, -1); 355ArgumentOutOfRangeException.ThrowIfNotEqual(rowIndex, -1); 375ArgumentOutOfRangeException.ThrowIfNotEqual(rowIndex, -1); 424ArgumentOutOfRangeException.ThrowIfNotEqual(rowIndex, -1);
System\Windows\Forms\Controls\DataGridView\DataGridViewTopLeftHeaderCell.cs (3)
30ArgumentOutOfRangeException.ThrowIfNotEqual(rowIndex, -1); 85ArgumentOutOfRangeException.ThrowIfNotEqual(rowIndex, -1); 136ArgumentOutOfRangeException.ThrowIfNotEqual(rowIndex, -1);
System.Xaml (1)
src\Microsoft.DotNet.Wpf\src\Shared\MS\Utility\FrugalList.cs (1)
311ArgumentOutOfRangeException.ThrowIfNotEqual(index, 0);
UIAutomationClientSideProviders (18)
MS\Internal\AutomationProxies\WindowsButton.cs (1)
93ArgumentOutOfRangeException.ThrowIfNotEqual(idChild, 0);
MS\Internal\AutomationProxies\WindowsComboBox.cs (1)
68ArgumentOutOfRangeException.ThrowIfNotEqual(idChild, 0);
MS\Internal\AutomationProxies\WindowsContainer.cs (1)
59ArgumentOutOfRangeException.ThrowIfNotEqual(idChild, 0);
MS\Internal\AutomationProxies\WindowsEditBox.cs (1)
82ArgumentOutOfRangeException.ThrowIfNotEqual(idChild, 0);
MS\Internal\AutomationProxies\WindowsFormsLinkLabel.cs (1)
43ArgumentOutOfRangeException.ThrowIfNotEqual(idChild, 0);
MS\Internal\AutomationProxies\WindowsIPAddress.cs (1)
55ArgumentOutOfRangeException.ThrowIfNotEqual(idChild, 0);
MS\Internal\AutomationProxies\WindowsNonControl.cs (1)
45ArgumentOutOfRangeException.ThrowIfNotEqual(idChild, 0);
MS\Internal\AutomationProxies\WindowsProgressbar.cs (1)
47ArgumentOutOfRangeException.ThrowIfNotEqual(idChild, 0);
MS\Internal\AutomationProxies\WindowsRebar.cs (1)
50ArgumentOutOfRangeException.ThrowIfNotEqual(idChild, 0);
MS\Internal\AutomationProxies\WindowsRichEdit.cs (1)
62ArgumentOutOfRangeException.ThrowIfNotEqual(idChild, 0);
MS\Internal\AutomationProxies\WindowsScrollBar.cs (1)
68ArgumentOutOfRangeException.ThrowIfNotEqual(idChild, 0);
MS\Internal\AutomationProxies\WindowsSlider.cs (1)
54ArgumentOutOfRangeException.ThrowIfNotEqual(idChild, 0);
MS\Internal\AutomationProxies\WindowsSpinner.cs (1)
54ArgumentOutOfRangeException.ThrowIfNotEqual(idChild, 0);
MS\Internal\AutomationProxies\WindowsStartMenu.cs (1)
41ArgumentOutOfRangeException.ThrowIfNotEqual(idChild, 0);
MS\Internal\AutomationProxies\WindowsStatic.cs (1)
61ArgumentOutOfRangeException.ThrowIfNotEqual(idChild, 0);
MS\Internal\AutomationProxies\WindowsStatusBar.cs (1)
55ArgumentOutOfRangeException.ThrowIfNotEqual(idChild, 0);
MS\Internal\AutomationProxies\WindowsTooltip.cs (1)
51ArgumentOutOfRangeException.ThrowIfNotEqual(idChild, 0);
MS\Internal\AutomationProxies\WindowsUpDown.cs (1)
54ArgumentOutOfRangeException.ThrowIfNotEqual(idChild, 0);