16 references to ThrowArgumentOutOfRange_Range
System.Private.CoreLib (16)
src\libraries\System.Private.CoreLib\src\System\DateTimeOffset.cs (2)
590
ThrowHelper.
ThrowArgumentOutOfRange_Range
(nameof(seconds), seconds, UnixMinSeconds, UnixMaxSeconds);
604
ThrowHelper.
ThrowArgumentOutOfRange_Range
(nameof(milliseconds), milliseconds, MinMilliseconds, MaxMilliseconds);
src\libraries\System.Private.CoreLib\src\System\Globalization\DateTimeFormatInfo.cs (6)
1184
ThrowHelper.
ThrowArgumentOutOfRange_Range
(nameof(month), month + 1, 1, monthNamesArray.Length);
1242
ThrowHelper.
ThrowArgumentOutOfRange_Range
(nameof(dayofweek), dayofweek, DayOfWeek.Sunday, DayOfWeek.Saturday);
1257
ThrowHelper.
ThrowArgumentOutOfRange_Range
(nameof(dayOfWeek), dayOfWeek, DayOfWeek.Sunday, DayOfWeek.Saturday);
1330
ThrowHelper.
ThrowArgumentOutOfRange_Range
(nameof(dayofweek), dayofweek, DayOfWeek.Sunday, DayOfWeek.Saturday);
1342
ThrowHelper.
ThrowArgumentOutOfRange_Range
(nameof(month), month + 1, 1, 13);
1354
ThrowHelper.
ThrowArgumentOutOfRange_Range
(nameof(month), month + 1, 1, 13);
src\libraries\System.Private.CoreLib\src\System\Globalization\NumberFormatInfo.cs (8)
246
ThrowHelper.
ThrowArgumentOutOfRange_Range
(nameof(value), value, 0, 99);
442
ThrowHelper.
ThrowArgumentOutOfRange_Range
(nameof(value), value, 0, 16);
458
ThrowHelper.
ThrowArgumentOutOfRange_Range
(nameof(value), value, 0, 4);
474
ThrowHelper.
ThrowArgumentOutOfRange_Range
(nameof(value), value, 0, 3);
490
ThrowHelper.
ThrowArgumentOutOfRange_Range
(nameof(value), value, 0, 11);
550
ThrowHelper.
ThrowArgumentOutOfRange_Range
(nameof(value), value, 0, 99);
607
ThrowHelper.
ThrowArgumentOutOfRange_Range
(nameof(value), value, 0, 3);
667
ThrowHelper.
ThrowArgumentOutOfRange_Range
(nameof(value), value, 0, 99);