2 writes to TopLevelDisposedFlag
System.Core (2)
System\Linq\Parallel\QueryOperators\QuerySettings.cs (1)
164settings.CancellationState.TopLevelDisposedFlag = topLevelDisposedFlag;
System\Linq\Parallel\Scheduling\CancellationState.cs (1)
56TopLevelDisposedFlag = 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)
72Contract.Assert(m_taskGroupState.CancellationState.TopLevelDisposedFlag.Value);
System\Linq\Parallel\QueryOperators\QuerySettings.cs (1)
168Contract.Assert(settings.CancellationState.TopLevelDisposedFlag != null);
System\Linq\Parallel\Scheduling\QueryTaskGroupState.cs (2)
157if (!m_cancellationState.TopLevelDisposedFlag.Value) 164Contract.Assert(m_cancellationState.TopLevelDisposedFlag.Value);