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)
4711
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
tasks
);
4785
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
tasks
);
4826
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
tasks
);
4863
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
tasks
);
4912
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
tasks
);
4937
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
tasks
);
4985
ThrowHelper.ThrowArgumentException(ExceptionResource.Task_WaitMulti_NullTask, ExceptionArgument.
tasks
);
5324
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
tasks
);
5344
ThrowHelper.ThrowArgumentException(ExceptionResource.Task_WaitMulti_NullTask, ExceptionArgument.
tasks
);
5934
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
tasks
);
6000
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
tasks
);
6039
ThrowHelper.ThrowArgumentException(ExceptionResource.Task_MultiTaskContinuation_NullTask, ExceptionArgument.
tasks
);
6069
ThrowHelper.ThrowArgumentException(ExceptionResource.Task_MultiTaskContinuation_NullTask, ExceptionArgument.
tasks
);
6276
ThrowHelper.ThrowArgumentException(ExceptionResource.Task_MultiTaskContinuation_NullTask, ExceptionArgument.
tasks
);
6286
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
tasks
);
6294
ThrowHelper.ThrowArgumentException(ExceptionResource.Task_MultiTaskContinuation_NullTask, ExceptionArgument.
tasks
);
6340
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
tasks
);
6386
ThrowHelper.ThrowArgumentException(ExceptionResource.Task_MultiTaskContinuation_NullTask, ExceptionArgument.
tasks
);
6569
ThrowHelper.ThrowArgumentException(ExceptionResource.Task_MultiTaskContinuation_EmptyTaskList, ExceptionArgument.
tasks
);
6579
ThrowHelper.ThrowArgumentException(ExceptionResource.Task_MultiTaskContinuation_NullTask, ExceptionArgument.
tasks
);
6753
ThrowHelper.ThrowArgumentException(ExceptionResource.Task_MultiTaskContinuation_EmptyTaskList, ExceptionArgument.
tasks
);
6762
ThrowHelper.ThrowArgumentException(ExceptionResource.Task_MultiTaskContinuation_NullTask, ExceptionArgument.
tasks
);
6771
ThrowHelper.ThrowArgumentNullException(ExceptionArgument.
tasks
);
6781
ThrowHelper.ThrowArgumentException(ExceptionResource.Task_MultiTaskContinuation_NullTask, ExceptionArgument.
tasks
);
6789
ThrowHelper.ThrowArgumentException(ExceptionResource.Task_MultiTaskContinuation_EmptyTaskList, ExceptionArgument.
tasks
);
6969
ThrowHelper.ThrowArgumentException(ExceptionResource.Task_MultiTaskContinuation_NullTask, ExceptionArgument.
tasks
);
6996
ThrowHelper.ThrowArgumentException(ExceptionResource.Task_MultiTaskContinuation_NullTask, ExceptionArgument.
tasks
);
src\libraries\System.Private.CoreLib\src\System\ThrowHelper.cs (1)
977
case ExceptionArgument.
tasks
: