We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6c0d33b commit 1f78b08Copy full SHA for 1f78b08
1 file changed
src/libraries/System.Private.CoreLib/src/System/Threading/Tasks/Task.cs
@@ -4743,11 +4743,6 @@ public static void WaitAll(/*params*/ ReadOnlySpan<Task> tasks)
4743
[MethodImpl(MethodImplOptions.NoOptimization)] // this is needed for the parallel debugger
4744
public static bool WaitAll(Task[] tasks, TimeSpan timeout)
4745
{
4746
- if (tasks is null)
4747
- {
4748
- ThrowHelper.ThrowArgumentNullException(ExceptionArgument.tasks);
4749
- }
4750
-
4751
long totalMilliseconds = (long)timeout.TotalMilliseconds;
4752
if (totalMilliseconds is < -1 or > int.MaxValue)
4753
0 commit comments