7 references to CANCELLATION_STATE_NONE
System.Threading.Tasks.Dataflow (7)
Base\DataflowBlock.cs (7)
501
if (_cancellationState !=
CANCELLATION_STATE_NONE
)
543
Debug.Assert(source._cancellationState !=
CANCELLATION_STATE_NONE
,
567
bool consumeToAccept = _cancellationState !=
CANCELLATION_STATE_NONE
;
640
curState ==
CANCELLATION_STATE_NONE
|| curState == CANCELLATION_STATE_REGISTERED ||
647
if (curState ==
CANCELLATION_STATE_NONE
|| // no synchronization necessary if there's no cancellation
675
(_cancellationState ==
CANCELLATION_STATE_NONE
|| // avoid synchronization when cancellation is not in play
696
if (_cancellationState !=
CANCELLATION_STATE_NONE
)