Skip to content

Commit

Permalink
Correct summaries
Browse files Browse the repository at this point in the history
  • Loading branch information
roji committed Jan 13, 2025
1 parent 04b6517 commit a8e5a78
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 24 deletions.
18 changes: 6 additions & 12 deletions src/libraries/System.Linq.Queryable/src/System/Linq/Queryable.cs
Original file line number Diff line number Diff line change
Expand Up @@ -179,8 +179,7 @@ private static Expression GetSourceExpression<TSource>(IEnumerable<TSource> sour
}

/// <summary>
/// Correlates the elements of two sequences based on matching keys.
/// The default equality comparer is used to compare keys.
/// Correlates the elements of two sequences based on matching keys. The default equality comparer is used to compare keys.
/// </summary>
/// <param name="outer">The first sequence to join.</param>
/// <param name="inner">The sequence to join to the first sequence.</param>
Expand Down Expand Up @@ -293,8 +292,7 @@ public static IQueryable<TResult> Join<TOuter, TInner, TKey, TResult>(this IQuer
}

/// <summary>
/// Correlates the elements of two sequences based on matching keys.
/// The default equality comparer is used to compare keys.
/// Correlates the elements of two sequences based on matching keys. A specified <see cref="IEqualityComparer{T}" /> is used to compare keys.
/// </summary>
/// <param name="outer">The first sequence to join.</param>
/// <param name="inner">The sequence to join to the first sequence.</param>
Expand Down Expand Up @@ -441,8 +439,7 @@ public static IQueryable<TResult> GroupJoin<TOuter, TInner, TKey, TResult>(this
}

/// <summary>
/// Correlates the elements of two sequences based on matching keys; elements of the first sequence are returned regardless of whether matching elements are found in the second sequence.
/// The default equality comparer is used to compare keys.
/// Correlates the elements of two sequences based on matching keys. The default equality comparer is used to compare keys.
/// </summary>
/// <param name="outer">The first sequence to join.</param>
/// <param name="inner">The sequence to join to the first sequence.</param>
Expand Down Expand Up @@ -556,8 +553,7 @@ public static IQueryable<TResult> LeftJoin<TOuter, TInner, TKey, TResult>(this I
}

/// <summary>
/// Correlates the elements of two sequences based on matching keys; elements of the first sequence are returned regardless of whether matching elements are found in the second sequence.
/// The default equality comparer is used to compare keys.
/// Correlates the elements of two sequences based on matching keys. A specified <see cref="IEqualityComparer{T}" /> is used to compare keys.
/// </summary>
/// <param name="outer">The first sequence to join.</param>
/// <param name="inner">The sequence to join to the first sequence.</param>
Expand Down Expand Up @@ -870,8 +866,7 @@ public static IOrderedQueryable<TSource> OrderByDescending<TSource, TKey>(this I
}

/// <summary>
/// Correlates the elements of two sequences based on matching keys; elements of the second sequence are returned regardless of whether matching elements are found in the first sequence.
/// The default equality comparer is used to compare keys.
/// Correlates the elements of two sequences based on matching keys. The default equality comparer is used to compare keys.
/// </summary>
/// <param name="outer">The first sequence to join.</param>
/// <param name="inner">The sequence to join to the first sequence.</param>
Expand Down Expand Up @@ -984,8 +979,7 @@ public static IQueryable<TResult> RightJoin<TOuter, TInner, TKey, TResult>(this
}

/// <summary>
/// Correlates the elements of two sequences based on matching keys; elements of the second sequence are returned regardless of whether matching elements are found in the first sequence.
/// The default equality comparer is used to compare keys.
/// Correlates the elements of two sequences based on matching keys. A specified <see cref="IEqualityComparer{T}" /> is used to compare keys.
/// </summary>
/// <param name="outer">The first sequence to join.</param>
/// <param name="inner">The sequence to join to the first sequence.</param>
Expand Down
6 changes: 2 additions & 4 deletions src/libraries/System.Linq/src/System/Linq/Join.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ namespace System.Linq
public static partial class Enumerable
{
/// <summary>
/// Correlates the elements of two sequences based on matching keys.
/// The default equality comparer is used to compare keys.
/// Correlates the elements of two sequences based on matching keys. The default equality comparer is used to compare keys.
/// </summary>
/// <param name="outer">The first sequence to join.</param>
/// <param name="inner">The sequence to join to the first sequence.</param>
Expand Down Expand Up @@ -112,8 +111,7 @@ public static IEnumerable<TResult> Join<TOuter, TInner, TKey, TResult>(this IEnu
Join(outer, inner, outerKeySelector, innerKeySelector, resultSelector, comparer: null);

/// <summary>
/// Correlates the elements of two sequences based on matching keys.
/// The default equality comparer is used to compare keys.
/// Correlates the elements of two sequences based on matching keys. A specified <see cref="IEqualityComparer{T}" /> is used to compare keys.
/// </summary>
/// <param name="outer">The first sequence to join.</param>
/// <param name="inner">The sequence to join to the first sequence.</param>
Expand Down
6 changes: 2 additions & 4 deletions src/libraries/System.Linq/src/System/Linq/LeftJoin.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ namespace System.Linq
public static partial class Enumerable
{
/// <summary>
/// Correlates the elements of two sequences based on matching keys; elements of the first sequence are returned regardless of whether matching elements are found in the second sequence.
/// The default equality comparer is used to compare keys.
/// Correlates the elements of two sequences based on matching keys. The default equality comparer is used to compare keys.
/// </summary>
/// <param name="outer">The first sequence to join.</param>
/// <param name="inner">The sequence to join to the first sequence.</param>
Expand Down Expand Up @@ -111,8 +110,7 @@ public static IEnumerable<TResult> LeftJoin<TOuter, TInner, TKey, TResult>(this
LeftJoin(outer, inner, outerKeySelector, innerKeySelector, resultSelector, comparer: null);

/// <summary>
/// Correlates the elements of two sequences based on matching keys; elements of the first sequence are returned regardless of whether matching elements are found in the second sequence.
/// The default equality comparer is used to compare keys.
/// Correlates the elements of two sequences based on matching keys. A specified <see cref="IEqualityComparer{T}" /> is used to compare keys.
/// </summary>
/// <param name="outer">The first sequence to join.</param>
/// <param name="inner">The sequence to join to the first sequence.</param>
Expand Down
6 changes: 2 additions & 4 deletions src/libraries/System.Linq/src/System/Linq/RightJoin.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ namespace System.Linq
public static partial class Enumerable
{
/// <summary>
/// Correlates the elements of two sequences based on matching keys; elements of the second sequence are returned regardless of whether matching elements are found in the first sequence.
/// The default equality comparer is used to compare keys.
/// Correlates the elements of two sequences based on matching keys. The default equality comparer is used to compare keys.
/// </summary>
/// <param name="outer">The first sequence to join.</param>
/// <param name="inner">The sequence to join to the first sequence.</param>
Expand Down Expand Up @@ -110,8 +109,7 @@ public static IEnumerable<TResult> RightJoin<TOuter, TInner, TKey, TResult>(this
RightJoin(outer, inner, outerKeySelector, innerKeySelector, resultSelector, comparer: null);

/// <summary>
/// Correlates the elements of two sequences based on matching keys; elements of the second sequence are returned regardless of whether matching elements are found in the first sequence.
/// The default equality comparer is used to compare keys.
/// Correlates the elements of two sequences based on matching keys. A specified <see cref="IEqualityComparer{T}" /> is used to compare keys.
/// </summary>
/// <param name="outer">The first sequence to join.</param>
/// <param name="inner">The sequence to join to the first sequence.</param>
Expand Down

0 comments on commit a8e5a78

Please sign in to comment.