2 writes to TopLevelDisposedFlag
System.Linq.Parallel (2)
System\Linq\Parallel\QueryOperators\QuerySettings.cs (1)
157settings.CancellationState.TopLevelDisposedFlag = topLevelDisposedFlag;
System\Linq\Parallel\Scheduling\CancellationState.cs (1)
49TopLevelDisposedFlag = new Shared<bool>(false); //it would always be initialized to false, so no harm doing it here and avoid #if around constructors.
4 references to TopLevelDisposedFlag
System.Linq.Parallel (4)
System\Linq\Parallel\Merging\MergeEnumerator.cs (1)
68Debug.Assert(_taskGroupState.CancellationState.TopLevelDisposedFlag.Value);
System\Linq\Parallel\QueryOperators\QuerySettings.cs (1)
161Debug.Assert(settings.CancellationState.TopLevelDisposedFlag != null);
System\Linq\Parallel\Scheduling\QueryTaskGroupState.cs (2)
151if (!_cancellationState.TopLevelDisposedFlag.Value) 158Debug.Assert(_cancellationState.TopLevelDisposedFlag.Value);