11// Licensed to the .NET Foundation under one or more agreements.
22// The .NET Foundation licenses this file to you under the MIT license.
33// See the LICENSE file in the project root for more information.
4-
5- /* ========================
6- * Auto generated file
7- * ===================== */
4+ // =====================
5+ // Auto generated file
6+ // =====================
87
98using System ;
109using System . Collections . Generic ;
@@ -94,11 +93,11 @@ public static void HasSizeNotEqualTo<T>(Span<T> span, int size, string name)
9493 /// <param name="name">The name of the input parameter being tested.</param>
9594 /// <exception cref="ArgumentException">Thrown if the size of <paramref name="span"/> is <= <paramref name="size"/>.</exception>
9695 [ MethodImpl ( MethodImplOptions . AggressiveInlining ) ]
97- public static void HasSizeOver < T > ( Span < T > span , int size , string name )
96+ public static void HasSizeGreaterThan < T > ( Span < T > span , int size , string name )
9897 {
9998 if ( span . Length <= size )
10099 {
101- ThrowHelper . ThrowArgumentExceptionForHasSizeOver ( span , size , name ) ;
100+ ThrowHelper . ThrowArgumentExceptionForHasSizeGreaterThan ( span , size , name ) ;
102101 }
103102 }
104103
@@ -111,11 +110,11 @@ public static void HasSizeOver<T>(Span<T> span, int size, string name)
111110 /// <param name="name">The name of the input parameter being tested.</param>
112111 /// <exception cref="ArgumentException">Thrown if the size of <paramref name="span"/> is < <paramref name="size"/>.</exception>
113112 [ MethodImpl ( MethodImplOptions . AggressiveInlining ) ]
114- public static void HasSizeAtLeast < T > ( Span < T > span , int size , string name )
113+ public static void HasSizeGreaterThanOrEqualTo < T > ( Span < T > span , int size , string name )
115114 {
116115 if ( span . Length < size )
117116 {
118- ThrowHelper . ThrowArgumentExceptionForHasSizeAtLeast ( span , size , name ) ;
117+ ThrowHelper . ThrowArgumentExceptionForHasSizeGreaterThanOrEqualTo ( span , size , name ) ;
119118 }
120119 }
121120
@@ -296,11 +295,11 @@ public static void HasSizeNotEqualTo<T>(ReadOnlySpan<T> span, int size, string n
296295 /// <param name="name">The name of the input parameter being tested.</param>
297296 /// <exception cref="ArgumentException">Thrown if the size of <paramref name="span"/> is <= <paramref name="size"/>.</exception>
298297 [ MethodImpl ( MethodImplOptions . AggressiveInlining ) ]
299- public static void HasSizeOver < T > ( ReadOnlySpan < T > span , int size , string name )
298+ public static void HasSizeGreaterThan < T > ( ReadOnlySpan < T > span , int size , string name )
300299 {
301300 if ( span . Length <= size )
302301 {
303- ThrowHelper . ThrowArgumentExceptionForHasSizeOver ( span , size , name ) ;
302+ ThrowHelper . ThrowArgumentExceptionForHasSizeGreaterThan ( span , size , name ) ;
304303 }
305304 }
306305
@@ -313,11 +312,11 @@ public static void HasSizeOver<T>(ReadOnlySpan<T> span, int size, string name)
313312 /// <param name="name">The name of the input parameter being tested.</param>
314313 /// <exception cref="ArgumentException">Thrown if the size of <paramref name="span"/> is < <paramref name="size"/>.</exception>
315314 [ MethodImpl ( MethodImplOptions . AggressiveInlining ) ]
316- public static void HasSizeAtLeast < T > ( ReadOnlySpan < T > span , int size , string name )
315+ public static void HasSizeGreaterThanOrEqualTo < T > ( ReadOnlySpan < T > span , int size , string name )
317316 {
318317 if ( span . Length < size )
319318 {
320- ThrowHelper . ThrowArgumentExceptionForHasSizeAtLeast ( span , size , name ) ;
319+ ThrowHelper . ThrowArgumentExceptionForHasSizeGreaterThanOrEqualTo ( span , size , name ) ;
321320 }
322321 }
323322
@@ -498,11 +497,11 @@ public static void HasSizeNotEqualTo<T>(Memory<T> memory, int size, string name)
498497 /// <param name="name">The name of the input parameter being tested.</param>
499498 /// <exception cref="ArgumentException">Thrown if the size of <paramref name="memory"/> is <= <paramref name="size"/>.</exception>
500499 [ MethodImpl ( MethodImplOptions . AggressiveInlining ) ]
501- public static void HasSizeOver < T > ( Memory < T > memory , int size , string name )
500+ public static void HasSizeGreaterThan < T > ( Memory < T > memory , int size , string name )
502501 {
503502 if ( memory . Length <= size )
504503 {
505- ThrowHelper . ThrowArgumentExceptionForHasSizeOver ( memory , size , name ) ;
504+ ThrowHelper . ThrowArgumentExceptionForHasSizeGreaterThan ( memory , size , name ) ;
506505 }
507506 }
508507
@@ -515,11 +514,11 @@ public static void HasSizeOver<T>(Memory<T> memory, int size, string name)
515514 /// <param name="name">The name of the input parameter being tested.</param>
516515 /// <exception cref="ArgumentException">Thrown if the size of <paramref name="memory"/> is < <paramref name="size"/>.</exception>
517516 [ MethodImpl ( MethodImplOptions . AggressiveInlining ) ]
518- public static void HasSizeAtLeast < T > ( Memory < T > memory , int size , string name )
517+ public static void HasSizeGreaterThanOrEqualTo < T > ( Memory < T > memory , int size , string name )
519518 {
520519 if ( memory . Length < size )
521520 {
522- ThrowHelper . ThrowArgumentExceptionForHasSizeAtLeast ( memory , size , name ) ;
521+ ThrowHelper . ThrowArgumentExceptionForHasSizeGreaterThanOrEqualTo ( memory , size , name ) ;
523522 }
524523 }
525524
@@ -700,11 +699,11 @@ public static void HasSizeNotEqualTo<T>(ReadOnlyMemory<T> memory, int size, stri
700699 /// <param name="name">The name of the input parameter being tested.</param>
701700 /// <exception cref="ArgumentException">Thrown if the size of <paramref name="memory"/> is <= <paramref name="size"/>.</exception>
702701 [ MethodImpl ( MethodImplOptions . AggressiveInlining ) ]
703- public static void HasSizeOver < T > ( ReadOnlyMemory < T > memory , int size , string name )
702+ public static void HasSizeGreaterThan < T > ( ReadOnlyMemory < T > memory , int size , string name )
704703 {
705704 if ( memory . Length <= size )
706705 {
707- ThrowHelper . ThrowArgumentExceptionForHasSizeOver ( memory , size , name ) ;
706+ ThrowHelper . ThrowArgumentExceptionForHasSizeGreaterThan ( memory , size , name ) ;
708707 }
709708 }
710709
@@ -717,11 +716,11 @@ public static void HasSizeOver<T>(ReadOnlyMemory<T> memory, int size, string nam
717716 /// <param name="name">The name of the input parameter being tested.</param>
718717 /// <exception cref="ArgumentException">Thrown if the size of <paramref name="memory"/> is < <paramref name="size"/>.</exception>
719718 [ MethodImpl ( MethodImplOptions . AggressiveInlining ) ]
720- public static void HasSizeAtLeast < T > ( ReadOnlyMemory < T > memory , int size , string name )
719+ public static void HasSizeGreaterThanOrEqualTo < T > ( ReadOnlyMemory < T > memory , int size , string name )
721720 {
722721 if ( memory . Length < size )
723722 {
724- ThrowHelper . ThrowArgumentExceptionForHasSizeAtLeast ( memory , size , name ) ;
723+ ThrowHelper . ThrowArgumentExceptionForHasSizeGreaterThanOrEqualTo ( memory , size , name ) ;
725724 }
726725 }
727726
@@ -902,11 +901,11 @@ public static void HasSizeNotEqualTo<T>(T[] array, int size, string name)
902901 /// <param name="name">The name of the input parameter being tested.</param>
903902 /// <exception cref="ArgumentException">Thrown if the size of <paramref name="array"/> is <= <paramref name="size"/>.</exception>
904903 [ MethodImpl ( MethodImplOptions . AggressiveInlining ) ]
905- public static void HasSizeOver < T > ( T [ ] array , int size , string name )
904+ public static void HasSizeGreaterThan < T > ( T [ ] array , int size , string name )
906905 {
907906 if ( array . Length <= size )
908907 {
909- ThrowHelper . ThrowArgumentExceptionForHasSizeOver ( array , size , name ) ;
908+ ThrowHelper . ThrowArgumentExceptionForHasSizeGreaterThan ( array , size , name ) ;
910909 }
911910 }
912911
@@ -919,11 +918,11 @@ public static void HasSizeOver<T>(T[] array, int size, string name)
919918 /// <param name="name">The name of the input parameter being tested.</param>
920919 /// <exception cref="ArgumentException">Thrown if the size of <paramref name="array"/> is < <paramref name="size"/>.</exception>
921920 [ MethodImpl ( MethodImplOptions . AggressiveInlining ) ]
922- public static void HasSizeAtLeast < T > ( T [ ] array , int size , string name )
921+ public static void HasSizeGreaterThanOrEqualTo < T > ( T [ ] array , int size , string name )
923922 {
924923 if ( array . Length < size )
925924 {
926- ThrowHelper . ThrowArgumentExceptionForHasSizeAtLeast ( array , size , name ) ;
925+ ThrowHelper . ThrowArgumentExceptionForHasSizeGreaterThanOrEqualTo ( array , size , name ) ;
927926 }
928927 }
929928
@@ -1104,11 +1103,11 @@ public static void HasSizeNotEqualTo<T>(List<T> list, int size, string name)
11041103 /// <param name="name">The name of the input parameter being tested.</param>
11051104 /// <exception cref="ArgumentException">Thrown if the size of <paramref name="list"/> is <= <paramref name="size"/>.</exception>
11061105 [ MethodImpl ( MethodImplOptions . AggressiveInlining ) ]
1107- public static void HasSizeOver < T > ( List < T > list , int size , string name )
1106+ public static void HasSizeGreaterThan < T > ( List < T > list , int size , string name )
11081107 {
11091108 if ( list . Count <= size )
11101109 {
1111- ThrowHelper . ThrowArgumentExceptionForHasSizeOver ( ( ICollection < T > ) list , size , name ) ;
1110+ ThrowHelper . ThrowArgumentExceptionForHasSizeGreaterThan ( ( ICollection < T > ) list , size , name ) ;
11121111 }
11131112 }
11141113
@@ -1121,11 +1120,11 @@ public static void HasSizeOver<T>(List<T> list, int size, string name)
11211120 /// <param name="name">The name of the input parameter being tested.</param>
11221121 /// <exception cref="ArgumentException">Thrown if the size of <paramref name="list"/> is < <paramref name="size"/>.</exception>
11231122 [ MethodImpl ( MethodImplOptions . AggressiveInlining ) ]
1124- public static void HasSizeAtLeast < T > ( List < T > list , int size , string name )
1123+ public static void HasSizeGreaterThanOrEqualTo < T > ( List < T > list , int size , string name )
11251124 {
11261125 if ( list . Count < size )
11271126 {
1128- ThrowHelper . ThrowArgumentExceptionForHasSizeAtLeast ( ( ICollection < T > ) list , size , name ) ;
1127+ ThrowHelper . ThrowArgumentExceptionForHasSizeGreaterThanOrEqualTo ( ( ICollection < T > ) list , size , name ) ;
11291128 }
11301129 }
11311130
@@ -1306,11 +1305,11 @@ public static void HasSizeNotEqualTo<T>(ICollection<T> collection, int size, str
13061305 /// <param name="name">The name of the input parameter being tested.</param>
13071306 /// <exception cref="ArgumentException">Thrown if the size of <paramref name="collection"/> is <= <paramref name="size"/>.</exception>
13081307 [ MethodImpl ( MethodImplOptions . AggressiveInlining ) ]
1309- public static void HasSizeOver < T > ( ICollection < T > collection , int size , string name )
1308+ public static void HasSizeGreaterThan < T > ( ICollection < T > collection , int size , string name )
13101309 {
13111310 if ( collection . Count <= size )
13121311 {
1313- ThrowHelper . ThrowArgumentExceptionForHasSizeOver ( collection , size , name ) ;
1312+ ThrowHelper . ThrowArgumentExceptionForHasSizeGreaterThan ( collection , size , name ) ;
13141313 }
13151314 }
13161315
@@ -1323,11 +1322,11 @@ public static void HasSizeOver<T>(ICollection<T> collection, int size, string na
13231322 /// <param name="name">The name of the input parameter being tested.</param>
13241323 /// <exception cref="ArgumentException">Thrown if the size of <paramref name="collection"/> is < <paramref name="size"/>.</exception>
13251324 [ MethodImpl ( MethodImplOptions . AggressiveInlining ) ]
1326- public static void HasSizeAtLeast < T > ( ICollection < T > collection , int size , string name )
1325+ public static void HasSizeGreaterThanOrEqualTo < T > ( ICollection < T > collection , int size , string name )
13271326 {
13281327 if ( collection . Count < size )
13291328 {
1330- ThrowHelper . ThrowArgumentExceptionForHasSizeAtLeast ( collection , size , name ) ;
1329+ ThrowHelper . ThrowArgumentExceptionForHasSizeGreaterThanOrEqualTo ( collection , size , name ) ;
13311330 }
13321331 }
13331332
@@ -1508,11 +1507,11 @@ public static void HasSizeNotEqualTo<T>(IReadOnlyCollection<T> collection, int s
15081507 /// <param name="name">The name of the input parameter being tested.</param>
15091508 /// <exception cref="ArgumentException">Thrown if the size of <paramref name="collection"/> is <= <paramref name="size"/>.</exception>
15101509 [ MethodImpl ( MethodImplOptions . AggressiveInlining ) ]
1511- public static void HasSizeOver < T > ( IReadOnlyCollection < T > collection , int size , string name )
1510+ public static void HasSizeGreaterThan < T > ( IReadOnlyCollection < T > collection , int size , string name )
15121511 {
15131512 if ( collection . Count <= size )
15141513 {
1515- ThrowHelper . ThrowArgumentExceptionForHasSizeOver ( collection , size , name ) ;
1514+ ThrowHelper . ThrowArgumentExceptionForHasSizeGreaterThan ( collection , size , name ) ;
15161515 }
15171516 }
15181517
@@ -1525,11 +1524,11 @@ public static void HasSizeOver<T>(IReadOnlyCollection<T> collection, int size, s
15251524 /// <param name="name">The name of the input parameter being tested.</param>
15261525 /// <exception cref="ArgumentException">Thrown if the size of <paramref name="collection"/> is < <paramref name="size"/>.</exception>
15271526 [ MethodImpl ( MethodImplOptions . AggressiveInlining ) ]
1528- public static void HasSizeAtLeast < T > ( IReadOnlyCollection < T > collection , int size , string name )
1527+ public static void HasSizeGreaterThanOrEqualTo < T > ( IReadOnlyCollection < T > collection , int size , string name )
15291528 {
15301529 if ( collection . Count < size )
15311530 {
1532- ThrowHelper . ThrowArgumentExceptionForHasSizeAtLeast ( collection , size , name ) ;
1531+ ThrowHelper . ThrowArgumentExceptionForHasSizeGreaterThanOrEqualTo ( collection , size , name ) ;
15331532 }
15341533 }
15351534
0 commit comments