Skip to content

Commit 90cdbe6

Browse files
authored
Port System.Linq new docs (second pass) (#10216)
1 parent b1771f2 commit 90cdbe6

File tree

2 files changed

+19
-13
lines changed

2 files changed

+19
-13
lines changed

xml/System.Linq/Enumerable.xml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5674,11 +5674,13 @@ Only unique elements are returned.
56745674
<Parameter Name="source" Type="System.Collections.Generic.IEnumerable&lt;TSource&gt;" RefType="this" Index="0" FrameworkAlternate="net-9.0" />
56755675
</Parameters>
56765676
<Docs>
5677-
<typeparam name="TSource">To be added.</typeparam>
5678-
<param name="source">To be added.</param>
5679-
<summary>To be added.</summary>
5677+
<typeparam name="TSource">The type of the elements of <paramref name="source" />.</typeparam>
5678+
<param name="source">The source enumerable providing the elements.</param>
5679+
<summary>Returns an enumerable that incorporates the element's index into a tuple.</summary>
56805680
<returns>To be added.</returns>
56815681
<remarks>To be added.</remarks>
5682+
<exception cref="T:System.ArgumentNullException">
5683+
<paramref name="source" /> is <see langword="null" />.</exception>
56825684
</Docs>
56835685
</Member>
56845686
<MemberGroup MemberName="Intersect&lt;TSource&gt;">

xml/System.Linq/Queryable.xml

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3133,14 +3133,16 @@ The last chunk will contain the remaining elements and may be of a smaller size.
31333133
</Parameter>
31343134
</Parameters>
31353135
<Docs>
3136-
<typeparam name="TSource">To be added.</typeparam>
3137-
<typeparam name="TKey">To be added.</typeparam>
3138-
<param name="source">To be added.</param>
3139-
<param name="keySelector">To be added.</param>
3140-
<param name="comparer">To be added.</param>
3141-
<summary>To be added.</summary>
3142-
<returns>To be added.</returns>
3136+
<typeparam name="TSource">The type of the elements of <paramref name="source" />.</typeparam>
3137+
<typeparam name="TKey">The type of key to distinguish elements by.</typeparam>
3138+
<param name="source">The sequence to count elements from.</param>
3139+
<param name="keySelector">A function to extract the key for each element.</param>
3140+
<param name="comparer">An <see cref="T:System.Collections.Generic.IEqualityComparer`1" /> to compare keys.</param>
3141+
<summary>Returns the count of each element from a sequence according to a specified key selector function.</summary>
3142+
<returns>An <see cref="T:System.Linq.IQueryable`1" /> that contains count for each distinct elements from the source sequence as a <see cref="T:System.Collections.Generic.KeyValuePair`2" /> object.</returns>
31433143
<remarks>To be added.</remarks>
3144+
<exception cref="T:System.ArgumentNullException">
3145+
<paramref name="source" /> is <see langword="null" />.</exception>
31443146
</Docs>
31453147
</Member>
31463148
<MemberGroup MemberName="DefaultIfEmpty&lt;TSource&gt;">
@@ -5829,11 +5831,13 @@ The last chunk will contain the remaining elements and may be of a smaller size.
58295831
<Parameter Name="source" Type="System.Linq.IQueryable&lt;TSource&gt;" RefType="this" Index="0" FrameworkAlternate="net-9.0" />
58305832
</Parameters>
58315833
<Docs>
5832-
<typeparam name="TSource">To be added.</typeparam>
5833-
<param name="source">To be added.</param>
5834-
<summary>To be added.</summary>
5834+
<typeparam name="TSource">The type of the elements of <paramref name="source" />.</typeparam>
5835+
<param name="source">An <see cref="T:System.Linq.IQueryable`1" /> to return an element from.</param>
5836+
<summary>Return index and the associated item.</summary>
58355837
<returns>To be added.</returns>
58365838
<remarks>To be added.</remarks>
5839+
<exception cref="T:System.ArgumentNullException">
5840+
<paramref name="source" /> is <see langword="null" />.</exception>
58375841
</Docs>
58385842
</Member>
58395843
<MemberGroup MemberName="Intersect&lt;TSource&gt;">

0 commit comments

Comments
 (0)