33 references to tasks
System.Private.CoreLib (33)
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 (26)
4686
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
tasks
);
4754
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
tasks
);
4792
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
tasks
);
4826
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
tasks
);
4872
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
tasks
);
4894
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
tasks
);
4939
ThrowHelper.ThrowArgumentException(ExceptionResource.Task_WaitMulti_NullTask, ExceptionArgument.
tasks
);
5275
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
tasks
);
5295
ThrowHelper.ThrowArgumentException(ExceptionResource.Task_WaitMulti_NullTask, ExceptionArgument.
tasks
);
5887
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
tasks
);
5948
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
tasks
);
6000
ThrowHelper.ThrowArgumentException(ExceptionResource.Task_MultiTaskContinuation_NullTask, ExceptionArgument.
tasks
);
6207
ThrowHelper.ThrowArgumentException(ExceptionResource.Task_MultiTaskContinuation_NullTask, ExceptionArgument.
tasks
);
6217
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
tasks
);
6225
ThrowHelper.ThrowArgumentException(ExceptionResource.Task_MultiTaskContinuation_NullTask, ExceptionArgument.
tasks
);
6270
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
tasks
);
6315
ThrowHelper.ThrowArgumentException(ExceptionResource.Task_MultiTaskContinuation_NullTask, ExceptionArgument.
tasks
);
6498
ThrowHelper.ThrowArgumentException(ExceptionResource.Task_MultiTaskContinuation_EmptyTaskList, ExceptionArgument.
tasks
);
6508
ThrowHelper.ThrowArgumentException(ExceptionResource.Task_MultiTaskContinuation_NullTask, ExceptionArgument.
tasks
);
6681
ThrowHelper.ThrowArgumentException(ExceptionResource.Task_MultiTaskContinuation_EmptyTaskList, ExceptionArgument.
tasks
);
6690
ThrowHelper.ThrowArgumentException(ExceptionResource.Task_MultiTaskContinuation_NullTask, ExceptionArgument.
tasks
);
6699
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
tasks
);
6709
ThrowHelper.ThrowArgumentException(ExceptionResource.Task_MultiTaskContinuation_NullTask, ExceptionArgument.
tasks
);
6717
ThrowHelper.ThrowArgumentException(ExceptionResource.Task_MultiTaskContinuation_EmptyTaskList, ExceptionArgument.
tasks
);
6885
ThrowHelper.ThrowArgumentException(ExceptionResource.Task_MultiTaskContinuation_NullTask, ExceptionArgument.
tasks
);
6912
ThrowHelper.ThrowArgumentException(ExceptionResource.Task_MultiTaskContinuation_NullTask, ExceptionArgument.
tasks
);
src\libraries\System.Private.CoreLib\src\System\ThrowHelper.cs (1)
973
case ExceptionArgument.
tasks
: