You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: xml/System.Linq/Enumerable.xml
+33-25Lines changed: 33 additions & 25 deletions
Original file line number
Diff line number
Diff line change
@@ -12994,7 +12994,7 @@ In Visual Basic query expression syntax, an `Aggregate Into Sum()` clause transl
12994
12994
<format type="text/markdown"><![CDATA[
12995
12995
12996
12996
## Remarks
12997
-
12997
+
12998
12998
Items in `source` that are `null` are excluded from the computation of the sum. This method returns zero if `source` contains no elements or all elements are `null`.
12999
12999
13000
13000
In Visual Basic query expression syntax, an `Aggregate Into Sum()` clause translates to an invocation of <xref:System.Linq.Enumerable.Sum%2A>.
@@ -15015,12 +15015,14 @@ If `count` is not a positive number, this method returns an empty enumerable col
15015
15015
</Parameter>
15016
15016
</Parameters>
15017
15017
<Docs>
15018
-
<typeparam name="TKey">To be added.</typeparam>
15019
-
<typeparam name="TValue">To be added.</typeparam>
15020
-
<param name="source">To be added.</param>
15021
-
<summary>To be added.</summary>
15022
-
<returns>To be added.</returns>
15018
+
<typeparam name="TKey">The type of the keys from elements of <paramref name="source"/>.</typeparam>
15019
+
<typeparam name="TValue">The type of the values from elements of <paramref name="source"/>.</typeparam>
15020
+
<param name="source">The enumeration to create a dictionary from.</param>
15021
+
<summary>Creates a dictionary from an enumeration according to the default comparer for the key type.</summary>
15022
+
<returns>A dictionary that contains keys and values from <paramref name="source"/> and uses the default comparer for the key type.</returns>
15023
15023
<remarks>To be added.</remarks>
15024
+
<exception cref="T:System.ArgumentNullException"><paramref name="source"/> is a <see langword="null" /> reference.</exception>
15025
+
<exception cref="T:System.ArgumentException"><paramref name="source"/> contains one or more duplicate keys.</exception>
@@ -15129,13 +15133,15 @@ If `count` is not a positive number, this method returns an empty enumerable col
15129
15133
</Parameter>
15130
15134
</Parameters>
15131
15135
<Docs>
15132
-
<typeparam name="TKey">To be added.</typeparam>
15133
-
<typeparam name="TValue">To be added.</typeparam>
15134
-
<param name="source">To be added.</param>
15135
-
<param name="comparer">To be added.</param>
15136
-
<summary>To be added.</summary>
15137
-
<returns>To be added.</returns>
15138
-
<remarks>To be added.</remarks>
15136
+
<typeparam name="TKey">The type of the keys from elements of <paramref name="source"/>.</typeparam>
15137
+
<typeparam name="TValue">The type of the values from elements of <paramref name="source"/>.</typeparam>
15138
+
<param name="source">The enumeration to create a dictionary from.</param>
15139
+
<param name="comparer">An equality comparer to compare keys.</param>
15140
+
<summary>Creates a dictionary from an enumeration according to specified key comparer.</summary>
15141
+
<returns>A dictionary that contains keys and values from <paramref name="source"/>.</returns>
15142
+
<remarks>If <paramref name="comparer"/> is <see langword="null" />, the default equality comparer <see cref="P:System.Collections.Generic.EqualityComparer`1.Default"/> is used to compare keys.</remarks>
15143
+
<exception cref="T:System.ArgumentNullException"><paramref name="source"/> is a <see langword="null" /> reference.</exception>
15144
+
<exception cref="T:System.ArgumentException"><paramref name="source"/> contains one or more duplicate keys.</exception>
@@ -15193,13 +15199,15 @@ If `count` is not a positive number, this method returns an empty enumerable col
15193
15199
</Parameter>
15194
15200
</Parameters>
15195
15201
<Docs>
15196
-
<typeparam name="TKey">To be added.</typeparam>
15197
-
<typeparam name="TValue">To be added.</typeparam>
15198
-
<param name="source">To be added.</param>
15199
-
<param name="comparer">To be added.</param>
15200
-
<summary>To be added.</summary>
15201
-
<returns>To be added.</returns>
15202
-
<remarks>To be added.</remarks>
15202
+
<typeparam name="TKey">The type of the keys from elements of <paramref name="source"/>.</typeparam>
15203
+
<typeparam name="TValue">The type of the values from elements of <paramref name="source"/>.</typeparam>
15204
+
<param name="source">The enumeration to create a dictionary from.</param>
15205
+
<param name="comparer">An equality comparer to compare keys.</param>
15206
+
<summary>Creates a dictionary from an enumeration according to specified key equality comparer.</summary>
15207
+
<returns>A dictionary that contains keys and values from <paramref name="source"/>.</returns>
15208
+
<remarks>If <paramref name="comparer"/> is <see langword="null" />, the default equality comparer <see cref="P:System.Collections.Generic.EqualityComparer`1.Default"/> is used to compare keys.</remarks>
15209
+
<exception cref="T:System.ArgumentNullException"><paramref name="source"/> is a <see langword="null" /> reference.</exception>
15210
+
<exception cref="T:System.ArgumentException"><paramref name="source"/> contains one or more duplicate keys.</exception>
0 commit comments