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)
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
);
6055
ThrowHelper.ThrowArgumentException(ExceptionResource.Task_MultiTaskContinuation_NullTask, ExceptionArgument.
tasks
);
6262
ThrowHelper.ThrowArgumentException(ExceptionResource.Task_MultiTaskContinuation_NullTask, ExceptionArgument.
tasks
);
6272
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
tasks
);
6280
ThrowHelper.ThrowArgumentException(ExceptionResource.Task_MultiTaskContinuation_NullTask, ExceptionArgument.
tasks
);
6326
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
tasks
);
6372
ThrowHelper.ThrowArgumentException(ExceptionResource.Task_MultiTaskContinuation_NullTask, ExceptionArgument.
tasks
);
6555
ThrowHelper.ThrowArgumentException(ExceptionResource.Task_MultiTaskContinuation_EmptyTaskList, ExceptionArgument.
tasks
);
6565
ThrowHelper.ThrowArgumentException(ExceptionResource.Task_MultiTaskContinuation_NullTask, ExceptionArgument.
tasks
);
6739
ThrowHelper.ThrowArgumentException(ExceptionResource.Task_MultiTaskContinuation_EmptyTaskList, ExceptionArgument.
tasks
);
6748
ThrowHelper.ThrowArgumentException(ExceptionResource.Task_MultiTaskContinuation_NullTask, ExceptionArgument.
tasks
);
6757
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
tasks
);
6767
ThrowHelper.ThrowArgumentException(ExceptionResource.Task_MultiTaskContinuation_NullTask, ExceptionArgument.
tasks
);
6775
ThrowHelper.ThrowArgumentException(ExceptionResource.Task_MultiTaskContinuation_EmptyTaskList, ExceptionArgument.
tasks
);
6955
ThrowHelper.ThrowArgumentException(ExceptionResource.Task_MultiTaskContinuation_NullTask, ExceptionArgument.
tasks
);
6982
ThrowHelper.ThrowArgumentException(ExceptionResource.Task_MultiTaskContinuation_NullTask, ExceptionArgument.
tasks
);
src\libraries\System.Private.CoreLib\src\System\ThrowHelper.cs (1)
965
case ExceptionArgument.
tasks
: