@@ -4,8 +4,7 @@ public static partial class AsyncSuperEnumerable
4
4
{
5
5
/// <summary>
6
6
/// Ranks each item in the sequence in ascending order using a default comparer.
7
- /// The rank is equal to index + 1 of the first next different item, the first item
8
- /// has a rank of 1 (index 0 + 1).
7
+ /// The rank is equal to index + 1 of the first element of the item's equality set.
9
8
/// </summary>
10
9
/// <typeparam name="TSource">Type of item in the sequence</typeparam>
11
10
/// <param name="source">The sequence whose items will be ranked</param>
@@ -19,8 +18,7 @@ public static partial class AsyncSuperEnumerable
19
18
20
19
/// <summary>
21
20
/// Ranks each item in the sequence in ascending order using a caller-supplied comparer.
22
- /// The rank is equal to index + 1 of the first next different item, the first item
23
- /// has a rank of 1 (index 0 + 1).
21
+ /// The rank is equal to index + 1 of the first element of the item's equality set.
24
22
/// </summary>
25
23
/// <typeparam name="TSource">The type of the elements in the source sequence</typeparam>
26
24
/// <param name="source">The sequence of items to rank</param>
@@ -35,8 +33,7 @@ public static partial class AsyncSuperEnumerable
35
33
36
34
/// <summary>
37
35
/// Ranks each item in the sequence in the order defined by <paramref name="sortDirection"/>
38
- /// using a default comparer. The rank is equal to index + 1 of the first next different
39
- /// item, the first item has a rank of 1 (index 0 + 1).
36
+ /// using a default comparer. The rank is equal to index + 1 of the first element of the item's equality set.
40
37
/// </summary>
41
38
/// <typeparam name="TSource">Type of item in the sequence</typeparam>
42
39
/// <param name="source">The sequence whose items will be ranked</param>
@@ -51,8 +48,7 @@ public static partial class AsyncSuperEnumerable
51
48
52
49
/// <summary>
53
50
/// Ranks each item in the sequence in the order defined by <paramref name="sortDirection"/>
54
- /// using a caller-supplied comparer. The rank is equal to index + 1 of the first next
55
- /// different item, the first item has a rank of 1 (index 0 + 1).
51
+ /// using a caller-supplied comparer. The rank is equal to index + 1 of the first element of the item's equality set.
56
52
/// </summary>
57
53
/// <typeparam name="TSource">The type of the elements in the source sequence</typeparam>
58
54
/// <param name="source">The sequence of items to rank</param>
0 commit comments