2 writes to TopLevelDisposedFlag
System.Core (2)
System\Linq\Parallel\QueryOperators\QuerySettings.cs (1)
164
settings.CancellationState.
TopLevelDisposedFlag
= topLevelDisposedFlag;
System\Linq\Parallel\Scheduling\CancellationState.cs (1)
56
TopLevelDisposedFlag
= new Shared<bool>(false); //it would always be initialised to false, so no harm doing it here and avoid #if around constructors.
4 references to TopLevelDisposedFlag
System.Core (4)
System\Linq\Parallel\Merging\MergeEnumerator.cs (1)
72
Contract.Assert(m_taskGroupState.CancellationState.
TopLevelDisposedFlag
.Value);
System\Linq\Parallel\QueryOperators\QuerySettings.cs (1)
168
Contract.Assert(settings.CancellationState.
TopLevelDisposedFlag
!= null);
System\Linq\Parallel\Scheduling\QueryTaskGroupState.cs (2)
157
if (!m_cancellationState.
TopLevelDisposedFlag
.Value)
164
Contract.Assert(m_cancellationState.
TopLevelDisposedFlag
.Value);