2 writes to m_parent
mscorlib (2)
system\threading\Tasks\Task.cs (2)
365
m_parent
= Task.InternalCurrent;
573
m_parent
= parent;
15 references to m_parent
mscorlib (15)
system\threading\Tasks\Future.cs (1)
507
if (
m_parent
!= null)
system\threading\Tasks\Task.cs (14)
646
if (
m_parent
!= null
648
&& ((
m_parent
.CreationOptions & TaskCreationOptions.DenyChildAttach) == 0)
651
m_parent
.AddNewChild();
722
if ((
m_parent
!= null) &&
724
&& ((
m_parent
.Options & TaskCreationOptions.DenyChildAttach) == 0))
726
m_parent
.DisregardChild();
983
Task parentTask = this.
m_parent
;
2170
if ((
m_parent
!= null)
2172
&& ((
m_parent
.CreationOptions & TaskCreationOptions.DenyChildAttach) == 0)
2173
&& Task.InternalCurrent ==
m_parent
)
2354
if (
m_parent
!= null
2355
&& ((
m_parent
.CreationOptions & TaskCreationOptions.DenyChildAttach) == 0)
2358
m_parent
.ProcessChildCompletion(this);
2373
Contract.Assert(childTask.
m_parent
== this, "ProcessChildCompletion should only be called for a child of this task");