Skip to content
Closed
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
2 changes: 1 addition & 1 deletion xml/System.Linq/Enumerable.xml

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you think the Remark section is no longer necessary?

image

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FWIW this is true in general with LINQ methods, mutations are never being made to the source collection(s). While I don't object to the change in question, users reading this part should have already internalized this invariant of LINQ.

Original file line number Diff line number Diff line change
Expand Up @@ -11681,7 +11681,7 @@ If comparer is `null`, the default comparer <see cref="P:System.Collections.Gene
<typeparam name="TSource">The type of the elements of <paramref name="source" />.</typeparam>
<param name="source">A sequence of values.</param>
<param name="element">The value to prepend to <paramref name="source" />.</param>
<summary>Adds a value to the beginning of the sequence.</summary>
<summary>Returns a new sequence that begins with the specified element followed by the elements of the source sequence.</summary>
<returns>A new sequence that begins with <paramref name="element" />.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
Expand Down
Loading