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)
4710
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
tasks
);
4784
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
tasks
);
4825
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
tasks
);
4862
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
tasks
);
4911
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
tasks
);
4936
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
tasks
);
4984
ThrowHelper.ThrowArgumentException(ExceptionResource.Task_WaitMulti_NullTask, ExceptionArgument.
tasks
);
5323
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
tasks
);
5343
ThrowHelper.ThrowArgumentException(ExceptionResource.Task_WaitMulti_NullTask, ExceptionArgument.
tasks
);
5933
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
tasks
);
5999
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
tasks
);
6051
ThrowHelper.ThrowArgumentException(ExceptionResource.Task_MultiTaskContinuation_NullTask, ExceptionArgument.
tasks
);
6258
ThrowHelper.ThrowArgumentException(ExceptionResource.Task_MultiTaskContinuation_NullTask, ExceptionArgument.
tasks
);
6268
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
tasks
);
6276
ThrowHelper.ThrowArgumentException(ExceptionResource.Task_MultiTaskContinuation_NullTask, ExceptionArgument.
tasks
);
6322
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
tasks
);
6368
ThrowHelper.ThrowArgumentException(ExceptionResource.Task_MultiTaskContinuation_NullTask, ExceptionArgument.
tasks
);
6551
ThrowHelper.ThrowArgumentException(ExceptionResource.Task_MultiTaskContinuation_EmptyTaskList, ExceptionArgument.
tasks
);
6561
ThrowHelper.ThrowArgumentException(ExceptionResource.Task_MultiTaskContinuation_NullTask, ExceptionArgument.
tasks
);
6735
ThrowHelper.ThrowArgumentException(ExceptionResource.Task_MultiTaskContinuation_EmptyTaskList, ExceptionArgument.
tasks
);
6744
ThrowHelper.ThrowArgumentException(ExceptionResource.Task_MultiTaskContinuation_NullTask, ExceptionArgument.
tasks
);
6753
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
tasks
);
6763
ThrowHelper.ThrowArgumentException(ExceptionResource.Task_MultiTaskContinuation_NullTask, ExceptionArgument.
tasks
);
6771
ThrowHelper.ThrowArgumentException(ExceptionResource.Task_MultiTaskContinuation_EmptyTaskList, ExceptionArgument.
tasks
);
6951
ThrowHelper.ThrowArgumentException(ExceptionResource.Task_MultiTaskContinuation_NullTask, ExceptionArgument.
tasks
);
6978
ThrowHelper.ThrowArgumentException(ExceptionResource.Task_MultiTaskContinuation_NullTask, ExceptionArgument.
tasks
);
src\libraries\System.Private.CoreLib\src\System\ThrowHelper.cs (1)
965
case ExceptionArgument.
tasks
: