2 writes to TopLevelDisposedFlag
System.Linq.Parallel (2)
System\Linq\Parallel\QueryOperators\QuerySettings.cs (1)
157
settings.CancellationState.
TopLevelDisposedFlag
= topLevelDisposedFlag;
System\Linq\Parallel\Scheduling\CancellationState.cs (1)
49
TopLevelDisposedFlag
= 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)
68
Debug.Assert(_taskGroupState.CancellationState.
TopLevelDisposedFlag
.Value);
System\Linq\Parallel\QueryOperators\QuerySettings.cs (1)
161
Debug.Assert(settings.CancellationState.
TopLevelDisposedFlag
!= null);
System\Linq\Parallel\Scheduling\QueryTaskGroupState.cs (2)
151
if (!_cancellationState.
TopLevelDisposedFlag
.Value)
158
Debug.Assert(_cancellationState.
TopLevelDisposedFlag
.Value);