201 references to ThrowIfLessThan
Aspire.Hosting (1)
ApplicationModel\AllocatedEndpoint.cs (1)
25ArgumentOutOfRangeException.ThrowIfLessThan(port, 1, nameof(port));
Microsoft.AspNetCore.DataProtection.Abstractions (1)
src\Shared\ThrowHelpers\ArgumentOutOfRangeThrowHelper.cs (1)
163ArgumentOutOfRangeException.ThrowIfLessThan(value, other, paramName);
Microsoft.AspNetCore.Http.Connections (1)
src\Shared\ThrowHelpers\ArgumentOutOfRangeThrowHelper.cs (1)
163ArgumentOutOfRangeException.ThrowIfLessThan(value, other, paramName);
Microsoft.AspNetCore.Http.Extensions (2)
SendFileResponseExtensions.cs (2)
127ArgumentOutOfRangeException.ThrowIfLessThan(offset, 0); 131ArgumentOutOfRangeException.ThrowIfLessThan(countValue, 0, nameof(count));
Microsoft.AspNetCore.Http.Features (1)
WebSocketAcceptContext.cs (1)
46ArgumentOutOfRangeException.ThrowIfLessThan(value.Value, TimeSpan.Zero);
Microsoft.AspNetCore.HttpLogging (4)
HttpLoggingAttribute.cs (2)
52ArgumentOutOfRangeException.ThrowIfLessThan(value, 0, nameof(RequestBodyLogLimit)); 80ArgumentOutOfRangeException.ThrowIfLessThan(value, 0, nameof(ResponseBodyLogLimit));
HttpLoggingEndpointConventionBuilderExtensions.cs (2)
30ArgumentOutOfRangeException.ThrowIfLessThan(requestBodyLogLimit.Value, 0, nameof(requestBodyLogLimit)); 35ArgumentOutOfRangeException.ThrowIfLessThan(responseBodyLogLimit.Value, 0, nameof(responseBodyLogLimit));
Microsoft.AspNetCore.Server.HttpSys (1)
src\Shared\HttpSys\NativeInterop\SocketAddress.cs (1)
22ArgumentOutOfRangeException.ThrowIfLessThan(size, WriteableOffset);
Microsoft.AspNetCore.Server.IIS (1)
src\Shared\HttpSys\NativeInterop\SocketAddress.cs (1)
22ArgumentOutOfRangeException.ThrowIfLessThan(size, WriteableOffset);
Microsoft.AspNetCore.Shared.Tests (2)
src\Shared\HttpSys\NativeInterop\SocketAddress.cs (1)
22ArgumentOutOfRangeException.ThrowIfLessThan(size, WriteableOffset);
src\Shared\ThrowHelpers\ArgumentOutOfRangeThrowHelper.cs (1)
163ArgumentOutOfRangeException.ThrowIfLessThan(value, other, paramName);
Microsoft.AspNetCore.SignalR.Core (1)
HubOptions.cs (1)
68ArgumentOutOfRangeException.ThrowIfLessThan(value, 1);
Microsoft.AspNetCore.WebSockets (1)
WebSocketOptions.cs (1)
51ArgumentOutOfRangeException.ThrowIfLessThan(value, TimeSpan.Zero);
Microsoft.AspNetCore.WebUtilities (1)
src\Shared\ThrowHelpers\ArgumentOutOfRangeThrowHelper.cs (1)
163ArgumentOutOfRangeException.ThrowIfLessThan(value, other, paramName);
Microsoft.Extensions.Features (1)
src\Shared\ThrowHelpers\ArgumentOutOfRangeThrowHelper.cs (1)
163ArgumentOutOfRangeException.ThrowIfLessThan(value, other, paramName);
PresentationCore (7)
MS\Internal\TextFormatting\TextFormatterImp.cs (1)
483ArgumentOutOfRangeException.ThrowIfLessThan(cpFirst, characterHit.FirstCharacterIndex - cchLength);
System\Windows\FontStretch.cs (1)
42ArgumentOutOfRangeException.ThrowIfLessThan(stretchValue, 1);
System\Windows\FontWeight.cs (1)
40ArgumentOutOfRangeException.ThrowIfLessThan(weightValue, 1);
System\Windows\Media\Imaging\BitmapSource.cs (2)
728ArgumentOutOfRangeException.ThrowIfLessThan(stride, minStride); 731ArgumentOutOfRangeException.ThrowIfLessThan(bufferSize, minRequiredDestSize);
System\Windows\Media\Imaging\JpegBitmapEncoder.cs (1)
53ArgumentOutOfRangeException.ThrowIfLessThan(value, 1);
System\Windows\Nrbf\SerializationRecordExtensions.cs (1)
360ArgumentOutOfRangeException.ThrowIfLessThan(readOnlyList.Count, count, nameof(count));
PresentationCore.Tests (2)
FluentAssertions\ComparisonHelpers.cs (2)
13ArgumentOutOfRangeException.ThrowIfLessThan(variance, T.Zero); 21ArgumentOutOfRangeException.ThrowIfLessThan(variance, T.Zero);
PresentationFramework (17)
MS\Internal\Controls\InnerItemCollectionView.cs (1)
464ArgumentOutOfRangeException.ThrowIfLessThan(position, -1);
MS\Internal\Data\CompositeCollectionView.cs (1)
307ArgumentOutOfRangeException.ThrowIfLessThan(position, -1);
MS\Internal\Documents\DocumentGrid.cs (3)
441ArgumentOutOfRangeException.ThrowIfLessThan(columns, 1); 455ArgumentOutOfRangeException.ThrowIfLessThan(columns, 1); 2679ArgumentOutOfRangeException.ThrowIfLessThan(pageNumber, row.FirstPage);
MS\Internal\Documents\PageCache.cs (2)
755ArgumentOutOfRangeException.ThrowIfLessThan(count, 1); 819ArgumentOutOfRangeException.ThrowIfLessThan(count, 1);
MS\Internal\Documents\RowCache.cs (5)
389ArgumentOutOfRangeException.ThrowIfLessThan(endOffset, startOffset); 506ArgumentOutOfRangeException.ThrowIfLessThan(columns, 1); 644ArgumentOutOfRangeException.ThrowIfLessThan(columns, 1); 799ArgumentOutOfRangeException.ThrowIfLessThan(columns, 1); 829ArgumentOutOfRangeException.ThrowIfLessThan(columns, 1);
System\Windows\Automation\Peers\RangeBaseAutomationPeer.cs (1)
56ArgumentOutOfRangeException.ThrowIfLessThan(val, owner.Minimum);
System\Windows\Data\BindingListCollectionView.cs (1)
104ArgumentOutOfRangeException.ThrowIfLessThan(position, -1);
System\Windows\Data\CollectionView.cs (1)
541ArgumentOutOfRangeException.ThrowIfLessThan(position, -1);
System\Windows\Data\ListCollectionView.cs (1)
196ArgumentOutOfRangeException.ThrowIfLessThan(position, -1);
System\Windows\Markup\XamlStream.cs (1)
178ArgumentOutOfRangeException.ThrowIfLessThan(position, ReadLength);
System.Collections (2)
System\Collections\Generic\OrderedDictionary.cs (1)
897ThrowIfLessThan(capacity, Count);
System\Collections\Generic\Stack.cs (1)
182ArgumentOutOfRangeException.ThrowIfLessThan(capacity, _size);
System.Collections.NonGeneric (1)
System\Collections\Queue.cs (1)
55ArgumentOutOfRangeException.ThrowIfLessThan(growFactor, 1.0f);
System.Data.Common (1)
System\Data\SQLTypes\SQLDecimal.cs (1)
1165ArgumentOutOfRangeException.ThrowIfLessThan(destination.Length, 4, nameof(destination));
System.Diagnostics.Process (1)
System\Diagnostics\Process.cs (1)
1451ArgumentOutOfRangeException.ThrowIfLessThan(totalMilliseconds, -1, nameof(timeout));
System.Formats.Tar (1)
System\Formats\Tar\TarEntry.cs (1)
106ArgumentOutOfRangeException.ThrowIfLessThan(value, DateTimeOffset.UnixEpoch);
System.IO.Compression (2)
System\IO\Compression\ZLibCompressionOptions.cs (2)
27ArgumentOutOfRangeException.ThrowIfLessThan(value, -1); 42ArgumentOutOfRangeException.ThrowIfLessThan((int)value, (int) ZLibCompressionStrategy.Default, nameof(value));
System.IO.Compression.Brotli (1)
System\IO\Compression\enc\BrotliCompressionOptions.cs (1)
25ArgumentOutOfRangeException.ThrowIfLessThan(value, 0, nameof(value));
System.IO.FileSystem.Watcher (1)
System\IO\FileSystemWatcher.cs (1)
629ArgumentOutOfRangeException.ThrowIfLessThan(totalMilliseconds, -1, nameof(timeout));
System.IO.Pipes (3)
System\IO\Pipes\NamedPipeClientStream.cs (3)
124ArgumentOutOfRangeException.ThrowIfLessThan(timeout, Timeout.Infinite); 185ArgumentOutOfRangeException.ThrowIfLessThan(timeout, Timeout.Infinite); 207ArgumentOutOfRangeException.ThrowIfLessThan(totalMilliseconds, -1, nameof(timeout));
System.Linq (1)
System\Linq\Lookup.cs (1)
271ArgumentOutOfRangeException.ThrowIfLessThan(array.Length - arrayIndex, Count, nameof(arrayIndex));
System.Linq.Expressions (2)
System\Dynamic\Utils\ContractUtils.cs (1)
143ArgumentOutOfRangeException.ThrowIfLessThan(array.Count - offset, count, offsetName);
System\Runtime\CompilerServices\ReadOnlyCollectionBuilder.cs (1)
82ArgumentOutOfRangeException.ThrowIfLessThan(value, _size);
System.Net.HttpListener (3)
System\Net\WebSockets\HttpWebSocket.cs (3)
86ArgumentOutOfRangeException.ThrowIfLessThan(receiveBufferSize, MinReceiveBufferSize); 87ArgumentOutOfRangeException.ThrowIfLessThan(sendBufferSize, MinSendBufferSize); 92ArgumentOutOfRangeException.ThrowIfLessThan(keepAliveInterval, Timeout.InfiniteTimeSpan);
System.Net.Ping (1)
System\Net\NetworkInformation\Ping.cs (1)
659ArgumentOutOfRangeException.ThrowIfLessThan(totalMilliseconds, -1, nameof(timeout));
System.Net.Primitives (3)
src\libraries\Common\src\System\Net\SocketAddress.cs (2)
43ArgumentOutOfRangeException.ThrowIfLessThan(value, 0); 86ArgumentOutOfRangeException.ThrowIfLessThan(size, MinSize);
System\Net\DnsEndPoint.cs (1)
21ArgumentOutOfRangeException.ThrowIfLessThan(port, IPEndPoint.MinPort);
System.Net.Requests (7)
System\Net\HttpWebRequest.cs (3)
257ArgumentOutOfRangeException.ThrowIfLessThan(value, System.Threading.Timeout.Infinite); 690ArgumentOutOfRangeException.ThrowIfLessThan(value, 0); 703ArgumentOutOfRangeException.ThrowIfLessThan(value, -1);
System\Net\ServicePoint\ServicePoint.cs (3)
36ArgumentOutOfRangeException.ThrowIfLessThan(value, Timeout.Infinite); 48ArgumentOutOfRangeException.ThrowIfLessThan(value, Timeout.Infinite); 60ArgumentOutOfRangeException.ThrowIfLessThan(value, -1);
System\Net\ServicePoint\ServicePointManager.cs (1)
77ArgumentOutOfRangeException.ThrowIfLessThan(value, Timeout.Infinite);
System.Net.Sockets (6)
System\Net\Sockets\NetworkStream.cs (2)
362ArgumentOutOfRangeException.ThrowIfLessThan(timeout, -1); 382ArgumentOutOfRangeException.ThrowIfLessThan(totalMilliseconds, -1, nameof(timeout));
System\Net\Sockets\Socket.cs (4)
551ArgumentOutOfRangeException.ThrowIfLessThan(value, -1); 572ArgumentOutOfRangeException.ThrowIfLessThan(value, -1); 989ArgumentOutOfRangeException.ThrowIfLessThan(timeout, -1); 2441ArgumentOutOfRangeException.ThrowIfLessThan(timeout, TimeSpan.Zero);
System.ObjectModel (1)
System\Collections\Specialized\NotifyCollectionChangedEventArgs.cs (1)
118ArgumentOutOfRangeException.ThrowIfLessThan(startingIndex, -1);
System.Private.CoreLib (37)
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\Queue.cs (1)
370ArgumentOutOfRangeException.ThrowIfLessThan(capacity, _size);
src\libraries\System.Private.CoreLib\src\System\Threading\Lock.cs (1)
194ArgumentOutOfRangeException.ThrowIfLessThan(millisecondsTimeout, -1);
src\libraries\System.Private.CoreLib\src\System\Threading\ManualResetEventSlim.cs (3)
404ArgumentOutOfRangeException.ThrowIfLessThan(totalMilliseconds, -1, nameof(timeout)); 437ArgumentOutOfRangeException.ThrowIfLessThan(totalMilliseconds, -1, nameof(timeout)); 490ArgumentOutOfRangeException.ThrowIfLessThan(millisecondsTimeout, -1);
src\libraries\System.Private.CoreLib\src\System\Threading\ReaderWriterLockSlim.cs (2)
241ArgumentOutOfRangeException.ThrowIfLessThan(ltm, -1, nameof(timeout)); 253ArgumentOutOfRangeException.ThrowIfLessThan(millisecondsTimeout, -1);
src\libraries\System.Private.CoreLib\src\System\Threading\SpinWait.cs (1)
146ArgumentOutOfRangeException.ThrowIfLessThan(sleep1Threshold, -1);
src\libraries\System.Private.CoreLib\src\System\Threading\Thread.cs (1)
368ArgumentOutOfRangeException.ThrowIfLessThan(millisecondsTimeout, Timeout.Infinite);
src\libraries\System.Private.CoreLib\src\System\Threading\ThreadPoolWorkQueue.cs (6)
1698ArgumentOutOfRangeException.ThrowIfLessThan(millisecondsTimeOutInterval, -1); 1716ArgumentOutOfRangeException.ThrowIfLessThan(millisecondsTimeOutInterval, -1); 1734ArgumentOutOfRangeException.ThrowIfLessThan(millisecondsTimeOutInterval, -1); 1753ArgumentOutOfRangeException.ThrowIfLessThan(millisecondsTimeOutInterval, -1); 1774ArgumentOutOfRangeException.ThrowIfLessThan(tm, -1, nameof(timeout)); 1796ArgumentOutOfRangeException.ThrowIfLessThan(tm, -1, nameof(timeout));
src\libraries\System.Private.CoreLib\src\System\Threading\Timer.cs (11)
499ArgumentOutOfRangeException.ThrowIfLessThan(tm, -1, parameter); 845ArgumentOutOfRangeException.ThrowIfLessThan(dueTime, -1); 846ArgumentOutOfRangeException.ThrowIfLessThan(period, -1); 857ArgumentOutOfRangeException.ThrowIfLessThan(dueTm, -1, nameof(dueTime)); 861ArgumentOutOfRangeException.ThrowIfLessThan(periodTm, -1, nameof(period)); 881ArgumentOutOfRangeException.ThrowIfLessThan(dueTime, -1); 882ArgumentOutOfRangeException.ThrowIfLessThan(period, -1); 913ArgumentOutOfRangeException.ThrowIfLessThan(dueTime, -1); 914ArgumentOutOfRangeException.ThrowIfLessThan(period, -1); 930ArgumentOutOfRangeException.ThrowIfLessThan(dueTime, -1); 931ArgumentOutOfRangeException.ThrowIfLessThan(period, -1);
src\libraries\System.Private.CoreLib\src\System\Threading\WaitHandle.cs (4)
82ArgumentOutOfRangeException.ThrowIfLessThan(timeoutMilliseconds, -1, nameof(timeout)); 102ArgumentOutOfRangeException.ThrowIfLessThan(millisecondsTimeout, -1); 307ArgumentOutOfRangeException.ThrowIfLessThan(millisecondsTimeout, -1); 455ArgumentOutOfRangeException.ThrowIfLessThan(millisecondsTimeout, -1);
src\System\Array.CoreCLR.cs (2)
65ArgumentOutOfRangeException.ThrowIfLessThan(sourceIndex, srcLB); 70ArgumentOutOfRangeException.ThrowIfLessThan(destinationIndex, dstLB);
src\System\GC.CoreCLR.cs (4)
482ArgumentOutOfRangeException.ThrowIfLessThan(millisecondsTimeout, -1); 494ArgumentOutOfRangeException.ThrowIfLessThan(millisecondsTimeout, -1); 650ArgumentOutOfRangeException.ThrowIfLessThan(highMemoryPercent, 0); 653ArgumentOutOfRangeException.ThrowIfLessThan(lowMemoryPercent, 0);
src\System\Threading\Monitor.CoreCLR.cs (1)
155ArgumentOutOfRangeException.ThrowIfLessThan(millisecondsTimeout, -1);
System.Private.Uri (1)
System\UriBuilder.cs (1)
183ArgumentOutOfRangeException.ThrowIfLessThan(value, -1);
System.Private.Windows.Core (1)
System\Collections\Generic\CollectionExtensions.cs (1)
18ArgumentOutOfRangeException.ThrowIfLessThan(readOnlyList.Count, count, nameof(count));
System.Private.Windows.Core.TestUtilities (2)
ComparisonHelpers.cs (2)
13ArgumentOutOfRangeException.ThrowIfLessThan(variance, T.Zero); 21ArgumentOutOfRangeException.ThrowIfLessThan(variance, T.Zero);
System.Private.Xml (1)
System\Xml\Xsl\Runtime\XmlQueryStaticData.cs (1)
424ArgumentOutOfRangeException.ThrowIfLessThan(maxValue, value);
System.Threading (7)
System\Threading\CountdownEvent.cs (3)
460ArgumentOutOfRangeException.ThrowIfLessThan(totalMilliseconds, -1, nameof(timeout)); 491ArgumentOutOfRangeException.ThrowIfLessThan(totalMilliseconds, -1, nameof(timeout)); 539ArgumentOutOfRangeException.ThrowIfLessThan(millisecondsTimeout, -1);
System\Threading\ReaderWriterLock.cs (4)
80ArgumentOutOfRangeException.ThrowIfLessThan(millisecondsTimeout, -1); 282ArgumentOutOfRangeException.ThrowIfLessThan(millisecondsTimeout, -1); 668ArgumentOutOfRangeException.ThrowIfLessThan(millisecondsTimeout, -1); 1111ArgumentOutOfRangeException.ThrowIfLessThan(timeoutMilliseconds, -1, nameof(timeout));
System.Threading.Tasks.Parallel (1)
System\Threading\Tasks\Parallel.cs (1)
86ArgumentOutOfRangeException.ThrowIfLessThan(value, -1, nameof(MaxDegreeOfParallelism));
System.Transactions.Local (3)
System\Transactions\TransactionManager.cs (2)
376ArgumentOutOfRangeException.ThrowIfLessThan(value, TimeSpan.Zero); 535ArgumentOutOfRangeException.ThrowIfLessThan(transactionTimeout, TimeSpan.Zero);
System\Transactions\TransactionScope.cs (1)
1125ArgumentOutOfRangeException.ThrowIfLessThan(scopeTimeout, TimeSpan.Zero, paramName);
System.Windows.Forms (64)
System\Windows\Forms\Controls\Buttons\ButtonBase.cs (1)
462ArgumentOutOfRangeException.ThrowIfLessThan(value, ImageList.Indexer.DefaultIndex);
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (2)
875ArgumentOutOfRangeException.ThrowIfLessThan(value, -1); 3244ArgumentOutOfRangeException.ThrowIfLessThan(length, -start);
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (3)
1573ArgumentOutOfRangeException.ThrowIfLessThan(value, MinimumColumnHeadersHeight); 3173ArgumentOutOfRangeException.ThrowIfLessThan(value, AllowUserToAddRowsInternal ? 1 : 0); 3378ArgumentOutOfRangeException.ThrowIfLessThan(value, MinimumRowHeadersWidth);
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (10)
1799ArgumentOutOfRangeException.ThrowIfLessThan(columnIndex, -1); 2127ArgumentOutOfRangeException.ThrowIfLessThan(rowIndex, -1); 3473ArgumentOutOfRangeException.ThrowIfLessThan(columnIndexException, -1); 3495ArgumentOutOfRangeException.ThrowIfLessThan(rowIndexException, -1); 9783ArgumentOutOfRangeException.ThrowIfLessThan(columnIndex, -1); 9786ArgumentOutOfRangeException.ThrowIfLessThan(rowIndex, -1); 28867ArgumentOutOfRangeException.ThrowIfLessThan(columnIndex, -1); 28868ArgumentOutOfRangeException.ThrowIfLessThan(rowIndex, -1); 28955ArgumentOutOfRangeException.ThrowIfLessThan(rowIndexEnd, rowIndexStart); 28982ArgumentOutOfRangeException.ThrowIfLessThan(rowIndex, updateToEnd ? 0 : -1);
System\Windows\Forms\Controls\DataGridView\DataGridViewCellCancelEventArgs.cs (2)
17ArgumentOutOfRangeException.ThrowIfLessThan(columnIndex, -1); 18ArgumentOutOfRangeException.ThrowIfLessThan(rowIndex, -1);
System\Windows\Forms\Controls\DataGridView\DataGridViewCellEventArgs.cs (2)
15ArgumentOutOfRangeException.ThrowIfLessThan(columnIndex, -1); 16ArgumentOutOfRangeException.ThrowIfLessThan(rowIndex, -1);
System\Windows\Forms\Controls\DataGridView\DataGridViewCellFormattingEventArgs.cs (2)
16ArgumentOutOfRangeException.ThrowIfLessThan(columnIndex, -1); 17ArgumentOutOfRangeException.ThrowIfLessThan(rowIndex, -1);
System\Windows\Forms\Controls\DataGridView\DataGridViewCellLinkedList.cs (1)
29ArgumentOutOfRangeException.ThrowIfLessThan(index, 0);
System\Windows\Forms\Controls\DataGridView\DataGridViewCellMouseEventArgs.cs (2)
16ArgumentOutOfRangeException.ThrowIfLessThan(columnIndex, -1); 17ArgumentOutOfRangeException.ThrowIfLessThan(rowIndex, -1);
System\Windows\Forms\Controls\DataGridView\DataGridViewColumnDividerDoubleClickEventArgs.cs (1)
11ArgumentOutOfRangeException.ThrowIfLessThan(columnIndex, -1);
System\Windows\Forms\Controls\DataGridView\DataGridViewIntLinkedList.cs (2)
41ArgumentOutOfRangeException.ThrowIfLessThan(index, 0); 185ArgumentOutOfRangeException.ThrowIfLessThan(index, 0);
System\Windows\Forms\Controls\DataGridView\DataGridViewRowCollection.cs (2)
1045ArgumentOutOfRangeException.ThrowIfLessThan(indexStart, -1); 1077ArgumentOutOfRangeException.ThrowIfLessThan(indexStart, -1);
System\Windows\Forms\Controls\DataGridView\DataGridViewRowContextMenuStripNeededEventArgs.cs (1)
10ArgumentOutOfRangeException.ThrowIfLessThan(rowIndex, -1);
System\Windows\Forms\Controls\DataGridView\DataGridViewRowDividerDoubleClickEventArgs.cs (1)
11ArgumentOutOfRangeException.ThrowIfLessThan(rowIndex, -1);
System\Windows\Forms\Controls\DataGridView\DataGridViewRowHeaderCell.cs (1)
566ArgumentOutOfRangeException.ThrowIfLessThan(rowIndex, -1);
System\Windows\Forms\Controls\DataGridView\DataGridViewRowsRemovedEventArgs.cs (1)
11ArgumentOutOfRangeException.ThrowIfLessThan(rowCount, 1);
System\Windows\Forms\Controls\DateTimePicker\DateTimePicker.cs (1)
601ArgumentOutOfRangeException.ThrowIfLessThan(value, EffectiveMinDate(_minDateTime));
System\Windows\Forms\Controls\Labels\Label.cs (1)
435ArgumentOutOfRangeException.ThrowIfLessThan(value, ImageList.Indexer.DefaultIndex);
System\Windows\Forms\Controls\ListBoxes\ListBox.cs (1)
851ArgumentOutOfRangeException.ThrowIfLessThan(value, -1);
System\Windows\Forms\Controls\ListControl\ListControl.cs (1)
483ArgumentOutOfRangeException.ThrowIfLessThan(startIndex, -1);
System\Windows\Forms\Controls\ListView\ColumnHeader.cs (1)
206ArgumentOutOfRangeException.ThrowIfLessThan(value, ImageList.Indexer.DefaultIndex);
System\Windows\Forms\Controls\ListView\ListView.cs (1)
5438ArgumentOutOfRangeException.ThrowIfLessThan(index, -1);
System\Windows\Forms\Controls\ListView\ListViewGroup.cs (1)
274ArgumentOutOfRangeException.ThrowIfLessThan(value, ImageList.Indexer.DefaultIndex);
System\Windows\Forms\Controls\ListView\ListViewItem.cs (2)
483ArgumentOutOfRangeException.ThrowIfLessThan(value, ImageList.Indexer.DefaultIndex); 735ArgumentOutOfRangeException.ThrowIfLessThan(value, ImageList.Indexer.DefaultIndex);
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.cs (8)
460ArgumentOutOfRangeException.ThrowIfLessThan(value, DateTimePicker.EffectiveMinDate(_minDate)); 517ArgumentOutOfRangeException.ThrowIfLessThan(value, DateTimePicker.MinimumDateTime); 647ArgumentOutOfRangeException.ThrowIfLessThan(value, MinDate); 684ArgumentOutOfRangeException.ThrowIfLessThan(value, _minDate); 882ArgumentOutOfRangeException.ThrowIfLessThan(value, _minDate); 1799ArgumentOutOfRangeException.ThrowIfLessThan(date, _minDate); 1838ArgumentOutOfRangeException.ThrowIfLessThan(date1, _minDate); 1840ArgumentOutOfRangeException.ThrowIfLessThan(date2, _minDate);
System\Windows\Forms\Controls\RichTextBox\RichTextBox.cs (2)
814ArgumentOutOfRangeException.ThrowIfLessThan(value, -2000); 1959ArgumentOutOfRangeException.ThrowIfLessThan(end, start);
System\Windows\Forms\Controls\TabControl\TabControl.cs (1)
662ArgumentOutOfRangeException.ThrowIfLessThan(value, -1);
System\Windows\Forms\Controls\TabControl\TabPage.cs (1)
231ArgumentOutOfRangeException.ThrowIfLessThan(value, -1);
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.cs (1)
1127ArgumentOutOfRangeException.ThrowIfLessThan(value, ImageList.Indexer.DefaultIndex);
System\Windows\Forms\Controls\TreeView\TreeNode.cs (3)
522ArgumentOutOfRangeException.ThrowIfLessThan(value, ImageList.Indexer.NoneIndex); 905ArgumentOutOfRangeException.ThrowIfLessThan(value, ImageList.Indexer.NoneIndex); 1031ArgumentOutOfRangeException.ThrowIfLessThan(value, ImageList.Indexer.DefaultIndex);
System\Windows\Forms\Controls\UpDown\DomainUpDown.cs (1)
100ArgumentOutOfRangeException.ThrowIfLessThan(value, -1);
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutPanelCellPosition.cs (2)
13ArgumentOutOfRangeException.ThrowIfLessThan(row, -1); 14ArgumentOutOfRangeException.ThrowIfLessThan(column, -1);
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutSettings.cs (2)
340ArgumentOutOfRangeException.ThrowIfLessThan(row, -1); 401ArgumentOutOfRangeException.ThrowIfLessThan(column, -1);
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\ImageListDesigner.OriginalImageCollection.cs (1)
181ArgumentOutOfRangeException.ThrowIfLessThan(index, 0, nameof(index));
System.Windows.Forms.Primitives (1)
System\Windows\Forms\Automation\UiaTextRange.cs (1)
1174ArgumentOutOfRangeException.ThrowIfLessThan(end, start);
UIAutomationClient (1)
System\Windows\Automation\Text\TextRange.cs (1)
287ArgumentOutOfRangeException.ThrowIfLessThan(maxLength, -1);