Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/libraries/System.Linq/src/System/Linq/Index.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ namespace System.Linq
{
public static partial class Enumerable
{
/// <summary>Return index and the associated item.</summary>
/// <summary>Returns an enumerable that incorporates the element's index into a tuple.</summary>
/// <typeparam name="TSource">The type of the elements of <paramref name="source" />.</typeparam>
/// <param name="source">An <see cref="IEnumerable{T}" /> to return an element from.</param>
/// <param name="source">The source enumerable providing the elements.</param>
/// <exception cref="ArgumentNullException"><paramref name="source" /> is <see langword="null" />.</exception>
public static IEnumerable<(int Index, TSource Item)> Index<TSource>(this IEnumerable<TSource> source)
{
Expand Down