34 references to tasks
System.Private.CoreLib (34)
src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\FutureFactory.cs (6)
1606if (tasks == null) ThrowHelper.ThrowArgumentNullException(ExceptionArgument.tasks); 1653if (tasks == null) ThrowHelper.ThrowArgumentNullException(ExceptionArgument.tasks); 1975if (tasks == null) ThrowHelper.ThrowArgumentNullException(ExceptionArgument.tasks); 1976if (tasks.Length == 0) ThrowHelper.ThrowArgumentException(ExceptionResource.Task_MultiTaskContinuation_EmptyTaskList, ExceptionArgument.tasks); 2026if (tasks == null) ThrowHelper.ThrowArgumentNullException(ExceptionArgument.tasks); 2027if (tasks.Length == 0) ThrowHelper.ThrowArgumentException(ExceptionResource.Task_MultiTaskContinuation_EmptyTaskList, ExceptionArgument.tasks);
src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs (27)
4710ThrowHelper.ThrowArgumentNullException(ExceptionArgument.tasks); 4784ThrowHelper.ThrowArgumentNullException(ExceptionArgument.tasks); 4825ThrowHelper.ThrowArgumentNullException(ExceptionArgument.tasks); 4862ThrowHelper.ThrowArgumentNullException(ExceptionArgument.tasks); 4911ThrowHelper.ThrowArgumentNullException(ExceptionArgument.tasks); 4936ThrowHelper.ThrowArgumentNullException(ExceptionArgument.tasks); 4984ThrowHelper.ThrowArgumentException(ExceptionResource.Task_WaitMulti_NullTask, ExceptionArgument.tasks); 5323ThrowHelper.ThrowArgumentNullException(ExceptionArgument.tasks); 5343ThrowHelper.ThrowArgumentException(ExceptionResource.Task_WaitMulti_NullTask, ExceptionArgument.tasks); 5933ThrowHelper.ThrowArgumentNullException(ExceptionArgument.tasks); 5999ThrowHelper.ThrowArgumentNullException(ExceptionArgument.tasks); 6038ThrowHelper.ThrowArgumentException(ExceptionResource.Task_MultiTaskContinuation_NullTask, ExceptionArgument.tasks); 6068ThrowHelper.ThrowArgumentException(ExceptionResource.Task_MultiTaskContinuation_NullTask, ExceptionArgument.tasks); 6275ThrowHelper.ThrowArgumentException(ExceptionResource.Task_MultiTaskContinuation_NullTask, ExceptionArgument.tasks); 6285ThrowHelper.ThrowArgumentNullException(ExceptionArgument.tasks); 6293ThrowHelper.ThrowArgumentException(ExceptionResource.Task_MultiTaskContinuation_NullTask, ExceptionArgument.tasks); 6339ThrowHelper.ThrowArgumentNullException(ExceptionArgument.tasks); 6385ThrowHelper.ThrowArgumentException(ExceptionResource.Task_MultiTaskContinuation_NullTask, ExceptionArgument.tasks); 6568ThrowHelper.ThrowArgumentException(ExceptionResource.Task_MultiTaskContinuation_EmptyTaskList, ExceptionArgument.tasks); 6578ThrowHelper.ThrowArgumentException(ExceptionResource.Task_MultiTaskContinuation_NullTask, ExceptionArgument.tasks); 6752ThrowHelper.ThrowArgumentException(ExceptionResource.Task_MultiTaskContinuation_EmptyTaskList, ExceptionArgument.tasks); 6761ThrowHelper.ThrowArgumentException(ExceptionResource.Task_MultiTaskContinuation_NullTask, ExceptionArgument.tasks); 6770ThrowHelper.ThrowArgumentNullException(ExceptionArgument.tasks); 6780ThrowHelper.ThrowArgumentException(ExceptionResource.Task_MultiTaskContinuation_NullTask, ExceptionArgument.tasks); 6788ThrowHelper.ThrowArgumentException(ExceptionResource.Task_MultiTaskContinuation_EmptyTaskList, ExceptionArgument.tasks); 6968ThrowHelper.ThrowArgumentException(ExceptionResource.Task_MultiTaskContinuation_NullTask, ExceptionArgument.tasks); 6995ThrowHelper.ThrowArgumentException(ExceptionResource.Task_MultiTaskContinuation_NullTask, ExceptionArgument.tasks);
src\libraries\System.Private.CoreLib\src\System\ThrowHelper.cs (1)
977case ExceptionArgument.tasks: