51 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.CoreLib (7)
src\libraries\System.Private.CoreLib\src\Internal\Runtime\InteropServices\ComponentActivator.cs (7)
83ArgumentOutOfRangeException.ThrowIfNotEqual(reserved, IntPtr.Zero); 122ArgumentOutOfRangeException.ThrowIfNotEqual(loadContext, IntPtr.Zero); 123ArgumentOutOfRangeException.ThrowIfNotEqual(reserved, IntPtr.Zero); 193ArgumentOutOfRangeException.ThrowIfNotEqual(loadContext, IntPtr.Zero); 194ArgumentOutOfRangeException.ThrowIfNotEqual(reserved, IntPtr.Zero); 264ArgumentOutOfRangeException.ThrowIfNotEqual(loadContext, IntPtr.Zero); 265ArgumentOutOfRangeException.ThrowIfNotEqual(reserved, IntPtr.Zero);
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)
7055ArgumentOutOfRangeException.ThrowIfNotEqual(columnIndex, -1); 7066ArgumentOutOfRangeException.ThrowIfNotEqual(rowIndex, -1); 26752ArgumentOutOfRangeException.ThrowIfNotEqual(columnIndex, -1); 26756ArgumentOutOfRangeException.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)
310ArgumentOutOfRangeException.ThrowIfNotEqual(index, 0);
UIAutomationClientSideProviders (18)
MS\Internal\AutomationProxies\WindowsButton.cs (1)
92ArgumentOutOfRangeException.ThrowIfNotEqual(idChild, 0);
MS\Internal\AutomationProxies\WindowsComboBox.cs (1)
67ArgumentOutOfRangeException.ThrowIfNotEqual(idChild, 0);
MS\Internal\AutomationProxies\WindowsContainer.cs (1)
58ArgumentOutOfRangeException.ThrowIfNotEqual(idChild, 0);
MS\Internal\AutomationProxies\WindowsEditBox.cs (1)
81ArgumentOutOfRangeException.ThrowIfNotEqual(idChild, 0);
MS\Internal\AutomationProxies\WindowsFormsLinkLabel.cs (1)
42ArgumentOutOfRangeException.ThrowIfNotEqual(idChild, 0);
MS\Internal\AutomationProxies\WindowsIPAddress.cs (1)
54ArgumentOutOfRangeException.ThrowIfNotEqual(idChild, 0);
MS\Internal\AutomationProxies\WindowsNonControl.cs (1)
44ArgumentOutOfRangeException.ThrowIfNotEqual(idChild, 0);
MS\Internal\AutomationProxies\WindowsProgressbar.cs (1)
46ArgumentOutOfRangeException.ThrowIfNotEqual(idChild, 0);
MS\Internal\AutomationProxies\WindowsRebar.cs (1)
49ArgumentOutOfRangeException.ThrowIfNotEqual(idChild, 0);
MS\Internal\AutomationProxies\WindowsRichEdit.cs (1)
61ArgumentOutOfRangeException.ThrowIfNotEqual(idChild, 0);
MS\Internal\AutomationProxies\WindowsScrollBar.cs (1)
67ArgumentOutOfRangeException.ThrowIfNotEqual(idChild, 0);
MS\Internal\AutomationProxies\WindowsSlider.cs (1)
53ArgumentOutOfRangeException.ThrowIfNotEqual(idChild, 0);
MS\Internal\AutomationProxies\WindowsSpinner.cs (1)
53ArgumentOutOfRangeException.ThrowIfNotEqual(idChild, 0);
MS\Internal\AutomationProxies\WindowsStartMenu.cs (1)
39ArgumentOutOfRangeException.ThrowIfNotEqual(idChild, 0);
MS\Internal\AutomationProxies\WindowsStatic.cs (1)
60ArgumentOutOfRangeException.ThrowIfNotEqual(idChild, 0);
MS\Internal\AutomationProxies\WindowsStatusBar.cs (1)
54ArgumentOutOfRangeException.ThrowIfNotEqual(idChild, 0);
MS\Internal\AutomationProxies\WindowsTooltip.cs (1)
50ArgumentOutOfRangeException.ThrowIfNotEqual(idChild, 0);
MS\Internal\AutomationProxies\WindowsUpDown.cs (1)
53ArgumentOutOfRangeException.ThrowIfNotEqual(idChild, 0);