Skip to content

Commit

Permalink
Remove duplicated check added on conflicting merge
Browse files Browse the repository at this point in the history
  • Loading branch information
jozkee committed Apr 19, 2024
1 parent 6c0d33b commit 1f78b08
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4743,11 +4743,6 @@ public static void WaitAll(/*params*/ ReadOnlySpan<Task> tasks)
[MethodImpl(MethodImplOptions.NoOptimization)] // this is needed for the parallel debugger
public static bool WaitAll(Task[] tasks, TimeSpan timeout)
{
if (tasks is null)
{
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.tasks);
}

long totalMilliseconds = (long)timeout.TotalMilliseconds;
if (totalMilliseconds is < -1 or > int.MaxValue)
{
Expand Down

0 comments on commit 1f78b08

Please sign in to comment.