Skip to content

Commit 411a8d4

Browse files
Automatic port of System.Linq exceptions (dotnet#4659)
* Automatic port of System.Linq exceptions * Apply suggestions from code review Co-authored-by: Genevieve Warren <[email protected]> Co-authored-by: carlossanlop <[email protected]> Co-authored-by: Genevieve Warren <[email protected]>
1 parent 3b7d986 commit 411a8d4

File tree

1 file changed

+11
-7
lines changed

1 file changed

+11
-7
lines changed

xml/System.Linq/ParallelEnumerable.xml

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -624,7 +624,11 @@
624624

625625
-or-
626626

627-
if AsOrdered is called midway through a query. It is allowed to be called immediately after <see cref="M:System.Linq.ParallelEnumerable.AsParallel(System.Collections.IEnumerable)" />, <see cref="M:System.Linq.ParallelEnumerable.Range(System.Int32,System.Int32)" /> or <see cref="M:System.Linq.ParallelEnumerable.Repeat``1(``0,System.Int32)" />.</exception>
627+
if <see langword="AsOrdered" /> is called midway through a query. It is allowed to be called immediately after <see cref="M:System.Linq.ParallelEnumerable.AsParallel(System.Collections.IEnumerable)" />, <see cref="M:System.Linq.ParallelEnumerable.Range(System.Int32,System.Int32)" />, or <see cref="M:System.Linq.ParallelEnumerable.Repeat``1(``0,System.Int32)" />.
628+
629+
-or-
630+
631+
<paramref name="source" /> is not one of <see cref="M:System.Linq.ParallelEnumerable.AsParallel(System.Collections.IEnumerable)" />, <see cref="M:System.Linq.ParallelEnumerable.Range(System.Int32,System.Int32)" />, or <see cref="M:System.Linq.ParallelEnumerable.Repeat``1(``0,System.Int32)" />.</exception>
628632
<related type="Article" href="/dotnet/standard/parallel-programming/parallel-linq-plinq">Parallel LINQ (PLINQ)</related>
629633
</Docs>
630634
</Member>
@@ -3621,7 +3625,7 @@
36213625
<remarks>To be added.</remarks>
36223626
<exception cref="T:System.OperationCanceledException">The query was canceled with the token passed in through <paramref name="WithCancellation" />.</exception>
36233627
<exception cref="T:System.ArgumentNullException">
3624-
<paramref name="source" /> or <paramref name="action" /> is a null reference (Nothing in Visual Basic).</exception>
3628+
<paramref name="source" /> or <paramref name="action" /> or <paramref name="keySelector" /> or <paramref name="elementSelector" /> or <paramref name="resultSelector" /> is <see langword="null" /> (<see langword="Nothing" /> in Visual Basic).</exception>
36253629
<exception cref="T:System.AggregateException">One or more exceptions occurred during the evaluation of the query.</exception>
36263630
<related type="Article" href="/dotnet/standard/parallel-programming/parallel-linq-plinq">Parallel LINQ (PLINQ)</related>
36273631
</Docs>
@@ -3683,7 +3687,7 @@
36833687
<remarks>To be added.</remarks>
36843688
<exception cref="T:System.OperationCanceledException">The query was canceled with the token passed in through <paramref name="WithCancellation" />.</exception>
36853689
<exception cref="T:System.ArgumentNullException">
3686-
<paramref name="source" /> or <paramref name="action" /> is a null reference (Nothing in Visual Basic).</exception>
3690+
<paramref name="source" /> or <paramref name="action" /> or <paramref name="keySelector" /> or <paramref name="elementSelector" /> or <paramref name="resultSelector" /> is <see langword="null" /> (<see langword="Nothing" /> in Visual Basic).</exception>
36873691
<exception cref="T:System.AggregateException">One or more exceptions occurred during the evaluation of the query.</exception>
36883692
<related type="Article" href="/dotnet/standard/parallel-programming/parallel-linq-plinq">Parallel LINQ (PLINQ)</related>
36893693
</Docs>
@@ -3831,7 +3835,7 @@
38313835
<remarks>To be added.</remarks>
38323836
<exception cref="T:System.OperationCanceledException">The query was canceled with the token passed in through <paramref name="WithCancellation" />.</exception>
38333837
<exception cref="T:System.ArgumentNullException">
3834-
<paramref name="source" /> or <paramref name="action" /> is a null reference (Nothing in Visual Basic).</exception>
3838+
<paramref name="source" /> or <paramref name="action" /> or <paramref name="outer" /> or <paramref name="inner" /> or <paramref name="outerKeySelector" /> or <paramref name="innerKeySelector" /> or <paramref name="resultSelector" /> is <see langword="null" /> (<see langword="Nothing" /> in Visual Basic).</exception>
38353839
<exception cref="T:System.AggregateException">One or more exceptions occurred during the evaluation of the query.</exception>
38363840
<related type="Article" href="/dotnet/standard/parallel-programming/parallel-linq-plinq">Parallel LINQ (PLINQ)</related>
38373841
</Docs>
@@ -3969,7 +3973,7 @@
39693973
<remarks>To be added.</remarks>
39703974
<exception cref="T:System.OperationCanceledException">The query was canceled with the token passed in through <paramref name="WithCancellation" />.</exception>
39713975
<exception cref="T:System.ArgumentNullException">
3972-
<paramref name="source" /> or <paramref name="action" /> is a null reference (Nothing in Visual Basic).</exception>
3976+
<paramref name="source" /> or <paramref name="action" /> or <paramref name="outer" /> or <paramref name="inner" /> or <paramref name="outerKeySelector" /> or <paramref name="innerKeySelector" /> or <paramref name="resultSelector" /> is <see langword="null" /> (<see langword="Nothing" /> in Visual Basic).</exception>
39733977
<exception cref="T:System.AggregateException">One or more exceptions occurred during the evaluation of the query.</exception>
39743978
<related type="Article" href="/dotnet/standard/parallel-programming/parallel-linq-plinq">Parallel LINQ (PLINQ)</related>
39753979
</Docs>
@@ -4355,7 +4359,7 @@
43554359
<remarks>To be added.</remarks>
43564360
<exception cref="T:System.OperationCanceledException">The query was canceled with the token passed in through <paramref name="WithCancellation" />.</exception>
43574361
<exception cref="T:System.ArgumentNullException">
4358-
<paramref name="source" /> or <paramref name="action" /> is a null reference (Nothing in Visual Basic).</exception>
4362+
<paramref name="source" /> or <paramref name="action" /> or <paramref name="outer" /> or <paramref name="inner" /> or <paramref name="outerKeySelector" /> or <paramref name="innerKeySelector" /> or <paramref name="resultSelector" /> is <see langword="null" /> (<see langword="Nothing" /> in Visual Basic).</exception>
43594363
<exception cref="T:System.AggregateException">One or more exceptions occurred during the evaluation of the query.</exception>
43604364
<related type="Article" href="/dotnet/standard/parallel-programming/parallel-linq-plinq">Parallel LINQ (PLINQ)</related>
43614365
</Docs>
@@ -4493,7 +4497,7 @@
44934497
<remarks>To be added.</remarks>
44944498
<exception cref="T:System.OperationCanceledException">The query was canceled with the token passed in through <paramref name="WithCancellation" />.</exception>
44954499
<exception cref="T:System.ArgumentNullException">
4496-
<paramref name="source" /> or <paramref name="action" /> is a null reference (Nothing in Visual Basic).</exception>
4500+
<paramref name="source" /> or <paramref name="action" /> or <paramref name="outer" /> or <paramref name="inner" /> or <paramref name="outerKeySelector" /> or <paramref name="innerKeySelector" /> or <paramref name="resultSelector" /> is <see langword="null" /> (<see langword="Nothing" /> in Visual Basic).</exception>
44974501
<exception cref="T:System.AggregateException">One or more exceptions occurred during the evaluation of the query.</exception>
44984502
<related type="Article" href="/dotnet/standard/parallel-programming/parallel-linq-plinq">Parallel LINQ (PLINQ)</related>
44994503
</Docs>

0 commit comments

Comments
 (0)