26 references to DenyChildAttach
mscorlib (26)
system\io\filestream.cs (1)
2864TaskCreationOptions.DenyChildAttach,
system\io\stream.cs (2)
286cancellationToken, TaskCreationOptions.DenyChildAttach, TaskScheduler.Default); 634base(function, state, CancellationToken.None, TaskCreationOptions.DenyChildAttach)
system\io\textreader.cs (2)
200return Task<String>.Factory.StartNew(_ReadLineDelegate, this, CancellationToken.None, TaskCreationOptions.DenyChildAttach, TaskScheduler.Default); 240return Task<int>.Factory.StartNew(_ReadDelegate, tuple, CancellationToken.None, TaskCreationOptions.DenyChildAttach, TaskScheduler.Default);
system\io\textwriter.cs (7)
544return Task.Factory.StartNew(_WriteCharDelegate, tuple, CancellationToken.None, TaskCreationOptions.DenyChildAttach, TaskScheduler.Default); 552return Task.Factory.StartNew(_WriteStringDelegate, tuple, CancellationToken.None, TaskCreationOptions.DenyChildAttach, TaskScheduler.Default); 568return Task.Factory.StartNew(_WriteCharArrayRangeDelegate, tuple, CancellationToken.None, TaskCreationOptions.DenyChildAttach, TaskScheduler.Default); 576return Task.Factory.StartNew(_WriteLineCharDelegate, tuple, CancellationToken.None, TaskCreationOptions.DenyChildAttach, TaskScheduler.Default); 584return Task.Factory.StartNew(_WriteLineStringDelegate, tuple, CancellationToken.None, TaskCreationOptions.DenyChildAttach, TaskScheduler.Default); 600return Task.Factory.StartNew(_WriteLineCharArrayRangeDelegate, tuple, CancellationToken.None, TaskCreationOptions.DenyChildAttach, TaskScheduler.Default); 614return Task.Factory.StartNew(_FlushDelegate, this, CancellationToken.None, TaskCreationOptions.DenyChildAttach, TaskScheduler.Default);
system\threading\Tasks\ConcurrentExclusiveSchedulerPair.cs (1)
775TaskCreationOptions.DenyChildAttach;
system\threading\Tasks\Task.cs (11)
601TaskCreationOptions.DenyChildAttach | 648&& ((m_parent.CreationOptions & TaskCreationOptions.DenyChildAttach) == 0) 724&& ((m_parent.Options & TaskCreationOptions.DenyChildAttach) == 0)) 2172&& ((m_parent.CreationOptions & TaskCreationOptions.DenyChildAttach) == 0) 2355&& ((m_parent.CreationOptions & TaskCreationOptions.DenyChildAttach) == 0) 5618TaskCreationOptions.DenyChildAttach, InternalTaskOptions.None, ref stackMark); 5638TaskCreationOptions.DenyChildAttach, InternalTaskOptions.None, ref stackMark); 5654TaskCreationOptions.DenyChildAttach, InternalTaskOptions.None, TaskScheduler.Default, ref stackMark); 5674TaskCreationOptions.DenyChildAttach, InternalTaskOptions.None, TaskScheduler.Default, ref stackMark); 5721Task<Task> task1 = Task<Task>.Factory.StartNew(function, cancellationToken, TaskCreationOptions.DenyChildAttach, TaskScheduler.Default); 5772Task<Task<TResult>> task1 = Task<Task<TResult>>.Factory.StartNew(function, cancellationToken, TaskCreationOptions.DenyChildAttach, TaskScheduler.Default);
system\threading\Tasks\TaskFactory.cs (2)
225TaskCreationOptions.DenyChildAttach | 1607TaskCreationOptions.DenyChildAttach |