Skip to content

Commit ed28e01

Browse files
authored
Define group value order (#3429)
Documents that the grouping is stable.
1 parent 9023043 commit ed28e01

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

xml/System.Linq/Enumerable.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11803,7 +11803,7 @@ If `count` is not a positive number, this method returns an empty enumerable col
1180311803
<param name="source">An <see cref="T:System.Collections.Generic.IEnumerable`1" /> to create a <see cref="T:System.Collections.Generic.Dictionary`2" /> from.</param>
1180411804
<param name="keySelector">A function to extract a key from each element.</param>
1180511805
<summary>Creates a <see cref="T:System.Collections.Generic.Dictionary`2" /> from an <see cref="T:System.Collections.Generic.IEnumerable`1" /> according to a specified key selector function.</summary>
11806-
<returns>A <see cref="T:System.Collections.Generic.Dictionary`2" /> that contains keys and values.</returns>
11806+
<returns>A <see cref="T:System.Collections.Generic.Dictionary`2" /> that contains keys and values. The values within each group are in the same order as in <paramref name="source" />.</returns>
1180711807
<remarks>
1180811808
<format type="text/markdown"><![CDATA[
1180911809

@@ -11876,7 +11876,7 @@ If `count` is not a positive number, this method returns an empty enumerable col
1187611876
<param name="keySelector">A function to extract a key from each element.</param>
1187711877
<param name="comparer">An <see cref="T:System.Collections.Generic.IEqualityComparer`1" /> to compare keys.</param>
1187811878
<summary>Creates a <see cref="T:System.Collections.Generic.Dictionary`2" /> from an <see cref="T:System.Collections.Generic.IEnumerable`1" /> according to a specified key selector function and key comparer.</summary>
11879-
<returns>A <see cref="T:System.Collections.Generic.Dictionary`2" /> that contains keys and values.</returns>
11879+
<returns>A <see cref="T:System.Collections.Generic.Dictionary`2" /> that contains keys and values. The values within each group are in the same order as in <paramref name="source" />.</returns>
1188011880
<remarks>
1188111881
<format type="text/markdown"><![CDATA[
1188211882

@@ -12234,7 +12234,7 @@ If `count` is not a positive number, this method returns an empty enumerable col
1223412234
<param name="source">The <see cref="T:System.Collections.Generic.IEnumerable`1" /> to create a <see cref="T:System.Linq.Lookup`2" /> from.</param>
1223512235
<param name="keySelector">A function to extract a key from each element.</param>
1223612236
<summary>Creates a <see cref="T:System.Linq.Lookup`2" /> from an <see cref="T:System.Collections.Generic.IEnumerable`1" /> according to a specified key selector function.</summary>
12237-
<returns>A <see cref="T:System.Linq.Lookup`2" /> that contains keys and values.</returns>
12237+
<returns>A <see cref="T:System.Linq.Lookup`2" /> that contains keys and values. The values within each group are in the same order as in <paramref name="source" />.</returns>
1223812238
<remarks>
1223912239
<format type="text/markdown"><![CDATA[
1224012240

@@ -12295,7 +12295,7 @@ If `count` is not a positive number, this method returns an empty enumerable col
1229512295
<param name="keySelector">A function to extract a key from each element.</param>
1229612296
<param name="comparer">An <see cref="T:System.Collections.Generic.IEqualityComparer`1" /> to compare keys.</param>
1229712297
<summary>Creates a <see cref="T:System.Linq.Lookup`2" /> from an <see cref="T:System.Collections.Generic.IEnumerable`1" /> according to a specified key selector function and key comparer.</summary>
12298-
<returns>A <see cref="T:System.Linq.Lookup`2" /> that contains keys and values.</returns>
12298+
<returns>A <see cref="T:System.Linq.Lookup`2" /> that contains keys and values. The values within each group are in the same order as in <paramref name="source" />.</returns>
1229912299
<remarks>
1230012300
<format type="text/markdown"><![CDATA[
1230112301

0 commit comments

Comments
 (0)