5 references to CANCELLATION_STATE_COMPLETING
System.Threading.Tasks.Dataflow (5)
Base\DataflowBlock.cs (5)
550Interlocked.CompareExchange(ref source._cancellationState, CANCELLATION_STATE_COMPLETING, CANCELLATION_STATE_REGISTERED) == CANCELLATION_STATE_REGISTERED) 584Debug.Assert(_cancellationState == CANCELLATION_STATE_COMPLETING, 641curState == CANCELLATION_STATE_RESERVED || curState == CANCELLATION_STATE_COMPLETING, 648(curState != CANCELLATION_STATE_COMPLETING && // fast check to avoid unnecessary synchronization 649Interlocked.CompareExchange(ref _cancellationState, CANCELLATION_STATE_COMPLETING, curState) == curState))