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/ImmutableArrayExtensions.xml
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -991,11 +991,12 @@
991
991
</Parameters>
992
992
<Docs>
993
993
<typeparamname="T">The type of element contained by the collection.</typeparam>
994
-
<paramname="immutableArray">To be added.</param>
994
+
<paramname="immutableArray">The array.</param>
995
995
<summary>
996
996
997
997
Returns the only element of the array, or a default value if the sequence is empty; this method throws an exception if there is more than one element in the sequence.</summary>
998
998
<returns>The element in the array, or the default value if the array is empty.</returns>
999
+
<exceptioncref="T:System.InvalidOperationException"><paramrefname="source" /> contains more than one element.</exception>
999
1000
<remarks>To be added.</remarks>
1000
1001
</Docs>
1001
1002
</Member>
@@ -1029,6 +1030,7 @@
1029
1030
Returns the only element of a sequence that satisfies a specified condition or a default value if no such element exists; this method throws an exception if more than one element satisfies the condition.</summary>
1030
1031
<returns>The element if it satisfies the specified condition; otherwise the default element.</returns>
1031
1032
<remarks>To be added.</remarks>
1033
+
<exceptioncref="T:System.InvalidOperationException">More than one element satisfies the condition in <paramrefname="predicate" />. </exception>
Copy file name to clipboardExpand all lines: xml/System.Linq/ParallelEnumerable.xml
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -6740,6 +6740,7 @@
6740
6740
<exception cref="T:System.OperationCanceledException">The query was canceled with the token passed in through <paramref name="WithCancellation" />.</exception>
6741
6741
<exception cref="T:System.ArgumentNullException">
6742
6742
<paramref name="source" /> is a null reference (Nothing in Visual Basic).</exception>
6743
+
<exception cref="T:System.InvalidOperationException"><paramref name="source" /> has more than one element. </exception>
6743
6744
<exception cref="T:System.AggregateException">One or more exceptions occurred during the evaluation of the query.</exception>
0 commit comments