34 references to tasks
System.Private.CoreLib (34)
src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\FutureFactory.cs (6)
1606
if (tasks == null) ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
tasks
);
1653
if (tasks == null) ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
tasks
);
1975
if (tasks == null) ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
tasks
);
1976
if (tasks.Length == 0) ThrowHelper.ThrowArgumentException(ExceptionResource.Task_MultiTaskContinuation_EmptyTaskList, ExceptionArgument.
tasks
);
2026
if (tasks == null) ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
tasks
);
2027
if (tasks.Length == 0) ThrowHelper.ThrowArgumentException(ExceptionResource.Task_MultiTaskContinuation_EmptyTaskList, ExceptionArgument.
tasks
);
src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs (27)
4714
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
tasks
);
4788
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
tasks
);
4829
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
tasks
);
4866
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
tasks
);
4915
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
tasks
);
4940
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
tasks
);
4988
ThrowHelper.ThrowArgumentException(ExceptionResource.Task_WaitMulti_NullTask, ExceptionArgument.
tasks
);
5327
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
tasks
);
5347
ThrowHelper.ThrowArgumentException(ExceptionResource.Task_WaitMulti_NullTask, ExceptionArgument.
tasks
);
5937
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
tasks
);
6003
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
tasks
);
6042
ThrowHelper.ThrowArgumentException(ExceptionResource.Task_MultiTaskContinuation_NullTask, ExceptionArgument.
tasks
);
6072
ThrowHelper.ThrowArgumentException(ExceptionResource.Task_MultiTaskContinuation_NullTask, ExceptionArgument.
tasks
);
6279
ThrowHelper.ThrowArgumentException(ExceptionResource.Task_MultiTaskContinuation_NullTask, ExceptionArgument.
tasks
);
6289
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
tasks
);
6297
ThrowHelper.ThrowArgumentException(ExceptionResource.Task_MultiTaskContinuation_NullTask, ExceptionArgument.
tasks
);
6343
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
tasks
);
6389
ThrowHelper.ThrowArgumentException(ExceptionResource.Task_MultiTaskContinuation_NullTask, ExceptionArgument.
tasks
);
6572
ThrowHelper.ThrowArgumentException(ExceptionResource.Task_MultiTaskContinuation_EmptyTaskList, ExceptionArgument.
tasks
);
6582
ThrowHelper.ThrowArgumentException(ExceptionResource.Task_MultiTaskContinuation_NullTask, ExceptionArgument.
tasks
);
6756
ThrowHelper.ThrowArgumentException(ExceptionResource.Task_MultiTaskContinuation_EmptyTaskList, ExceptionArgument.
tasks
);
6765
ThrowHelper.ThrowArgumentException(ExceptionResource.Task_MultiTaskContinuation_NullTask, ExceptionArgument.
tasks
);
6774
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
tasks
);
6784
ThrowHelper.ThrowArgumentException(ExceptionResource.Task_MultiTaskContinuation_NullTask, ExceptionArgument.
tasks
);
6792
ThrowHelper.ThrowArgumentException(ExceptionResource.Task_MultiTaskContinuation_EmptyTaskList, ExceptionArgument.
tasks
);
6972
ThrowHelper.ThrowArgumentException(ExceptionResource.Task_MultiTaskContinuation_NullTask, ExceptionArgument.
tasks
);
6999
ThrowHelper.ThrowArgumentException(ExceptionResource.Task_MultiTaskContinuation_NullTask, ExceptionArgument.
tasks
);
src\libraries\System.Private.CoreLib\src\System\ThrowHelper.cs (1)
977
case ExceptionArgument.
tasks
: