Skip to content

Commit 1f78b08

Browse files
committed
Remove duplicated check added on conflicting merge
1 parent 6c0d33b commit 1f78b08

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

  • src/libraries/System.Private.CoreLib/src/System/Threading/Tasks

src/libraries/System.Private.CoreLib/src/System/Threading/Tasks/Task.cs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4743,11 +4743,6 @@ public static void WaitAll(/*params*/ ReadOnlySpan<Task> tasks)
47434743
[MethodImpl(MethodImplOptions.NoOptimization)] // this is needed for the parallel debugger
47444744
public static bool WaitAll(Task[] tasks, TimeSpan timeout)
47454745
{
4746-
if (tasks is null)
4747-
{
4748-
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.tasks);
4749-
}
4750-
47514746
long totalMilliseconds = (long)timeout.TotalMilliseconds;
47524747
if (totalMilliseconds is < -1 or > int.MaxValue)
47534748
{

0 commit comments

Comments
 (0)