34 references to tasks
System.Private.CoreLib (34)
src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs (27)
4794
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
tasks
);
4862
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
tasks
);
4900
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
tasks
);
4934
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
tasks
);
4980
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
tasks
);
5002
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
tasks
);
5047
ThrowHelper.ThrowArgumentException(ExceptionResource.Task_WaitMulti_NullTask, ExceptionArgument.
tasks
);
5387
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
tasks
);
5407
ThrowHelper.ThrowArgumentException(ExceptionResource.Task_WaitMulti_NullTask, ExceptionArgument.
tasks
);
5999
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
tasks
);
6065
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
tasks
);
6104
ThrowHelper.ThrowArgumentException(ExceptionResource.Task_MultiTaskContinuation_NullTask, ExceptionArgument.
tasks
);
6134
ThrowHelper.ThrowArgumentException(ExceptionResource.Task_MultiTaskContinuation_NullTask, ExceptionArgument.
tasks
);
6341
ThrowHelper.ThrowArgumentException(ExceptionResource.Task_MultiTaskContinuation_NullTask, ExceptionArgument.
tasks
);
6351
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
tasks
);
6359
ThrowHelper.ThrowArgumentException(ExceptionResource.Task_MultiTaskContinuation_NullTask, ExceptionArgument.
tasks
);
6405
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
tasks
);
6451
ThrowHelper.ThrowArgumentException(ExceptionResource.Task_MultiTaskContinuation_NullTask, ExceptionArgument.
tasks
);
6634
ThrowHelper.ThrowArgumentException(ExceptionResource.Task_MultiTaskContinuation_EmptyTaskList, ExceptionArgument.
tasks
);
6644
ThrowHelper.ThrowArgumentException(ExceptionResource.Task_MultiTaskContinuation_NullTask, ExceptionArgument.
tasks
);
6818
ThrowHelper.ThrowArgumentException(ExceptionResource.Task_MultiTaskContinuation_EmptyTaskList, ExceptionArgument.
tasks
);
6827
ThrowHelper.ThrowArgumentException(ExceptionResource.Task_MultiTaskContinuation_NullTask, ExceptionArgument.
tasks
);
6836
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
tasks
);
6846
ThrowHelper.ThrowArgumentException(ExceptionResource.Task_MultiTaskContinuation_NullTask, ExceptionArgument.
tasks
);
6854
ThrowHelper.ThrowArgumentException(ExceptionResource.Task_MultiTaskContinuation_EmptyTaskList, ExceptionArgument.
tasks
);
7034
ThrowHelper.ThrowArgumentException(ExceptionResource.Task_MultiTaskContinuation_NullTask, ExceptionArgument.
tasks
);
7061
ThrowHelper.ThrowArgumentException(ExceptionResource.Task_MultiTaskContinuation_NullTask, ExceptionArgument.
tasks
);
src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskFactory_T.cs (6)
1609
if (tasks == null) ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
tasks
);
1656
if (tasks == null) ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
tasks
);
1978
if (tasks == null) ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
tasks
);
1979
if (tasks.Length == 0) ThrowHelper.ThrowArgumentException(ExceptionResource.Task_MultiTaskContinuation_EmptyTaskList, ExceptionArgument.
tasks
);
2029
if (tasks == null) ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
tasks
);
2030
if (tasks.Length == 0) ThrowHelper.ThrowArgumentException(ExceptionResource.Task_MultiTaskContinuation_EmptyTaskList, ExceptionArgument.
tasks
);
src\libraries\System.Private.CoreLib\src\System\ThrowHelper.cs (1)
971
case ExceptionArgument.
tasks
: