15 references to AttachedToParent
mscorlib (13)
system\threading\Tasks\Task.cs (11)
357
if ((creationOptions & ~(TaskCreationOptions.
AttachedToParent
| TaskCreationOptions.RunContinuationsAsynchronously)) != 0)
364
if ((creationOptions & TaskCreationOptions.
AttachedToParent
) != 0)
569
if (((creationOptions & TaskCreationOptions.
AttachedToParent
) != 0) ||
599
~(TaskCreationOptions.
AttachedToParent
|
647
&& ((creationOptions & TaskCreationOptions.
AttachedToParent
) != 0)
723
((Options & TaskCreationOptions.
AttachedToParent
) != 0)
1371
return (creationOptions & TaskCreationOptions.
AttachedToParent
) != 0 ? InternalCurrent : null;
2171
&& ((Options & TaskCreationOptions.
AttachedToParent
) != 0)
2356
&& (((TaskCreationOptions)(m_stateFlags & OptionsMask)) & TaskCreationOptions.
AttachedToParent
) != 0)
2566
TaskCreationOptions creationOptionsForReplicas = root.CreationOptions | TaskCreationOptions.
AttachedToParent
;
7150
: base((object)null, outerTask.CreationOptions & TaskCreationOptions.
AttachedToParent
)
system\threading\Tasks\TaskFactory.cs (2)
224
~(TaskCreationOptions.
AttachedToParent
|
1606
~(TaskCreationOptions.
AttachedToParent
|
System.Core (2)
System\Linq\Parallel\Scheduling\QueryTask.cs (2)
68
Task task = new Task(s_runTaskSynchronouslyDelegate, this, TaskCreationOptions.
AttachedToParent
);
87
return Task.Factory.StartNew(s_baseWorkDelegate, this, new CancellationToken(), TaskCreationOptions.
AttachedToParent
| TaskCreationOptions.PreferFairness, taskScheduler);