Skip to content

Commit e479b0a

Browse files
authored
Update ParallelEnumerable.LongCount() exception details (#3940)
While counter-intuitive, PLINQ's LongCount() only supports values up to Int32.MaxValue, as do the rest of PLINQ's operators. This is not something that's planned to change.
1 parent 4fc49a4 commit e479b0a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

xml/System.Linq/ParallelEnumerable.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4673,8 +4673,8 @@
46734673
<exception cref="T:System.OperationCanceledException">The query was canceled with the token passed in through <paramref name="WithCancellation" />.</exception>
46744674
<exception cref="T:System.ArgumentNullException">
46754675
<paramref name="source" /> is a null reference (Nothing in Visual Basic).</exception>
4676-
<exception cref="T:System.AggregateException">The number of elements in source is larger than <see cref="F:System.Int64.MaxValue" />. -or- One or more exceptions occurred during the evaluation of the query.</exception>
4677-
<exception cref="T:System.OverflowException">The computed result is greater than <see cref="F:System.Int64.MaxValue" />.</exception>
4676+
<exception cref="T:System.AggregateException">The number of elements in source is larger than <see cref="F:System.Int32.MaxValue" />. -or- One or more exceptions occurred during the evaluation of the query.</exception>
4677+
<exception cref="T:System.OverflowException">The computed result is greater than <see cref="F:System.Int32.MaxValue" />.</exception>
46784678
<related type="Article" href="~/docs/standard/parallel-programming/parallel-linq-plinq.md">Parallel LINQ (PLINQ)</related>
46794679
</Docs>
46804680
</Member>
@@ -4722,8 +4722,8 @@
47224722
<exception cref="T:System.OperationCanceledException">The query was canceled with the token passed in through <paramref name="WithCancellation" />.</exception>
47234723
<exception cref="T:System.ArgumentNullException">
47244724
<paramref name="source" /> or <paramref name="predicate" /> is a null reference (Nothing in Visual Basic).</exception>
4725-
<exception cref="T:System.AggregateException">The number of elements in source is larger than <see cref="F:System.Int64.MaxValue" />. -or- One or more exceptions occurred during the evaluation of the query.</exception>
4726-
<exception cref="T:System.OverflowException">The computed result is greater than <see cref="F:System.Int64.MaxValue" />.</exception>
4725+
<exception cref="T:System.AggregateException">The number of elements in source is larger than <see cref="F:System.Int32.MaxValue" />. -or- One or more exceptions occurred during the evaluation of the query.</exception>
4726+
<exception cref="T:System.OverflowException">The computed result is greater than <see cref="F:System.Int32.MaxValue" />.</exception>
47274727
<related type="Article" href="~/docs/standard/parallel-programming/parallel-linq-plinq.md">Parallel LINQ (PLINQ)</related>
47284728
</Docs>
47294729
</Member>

0 commit comments

Comments
 (0)