7 references to CANCELLATION_STATE_NONE
System.Threading.Tasks.Dataflow (7)
Base\DataflowBlock.cs (7)
525
if (_cancellationState !=
CANCELLATION_STATE_NONE
)
567
Debug.Assert(source._cancellationState !=
CANCELLATION_STATE_NONE
,
591
bool consumeToAccept = _cancellationState !=
CANCELLATION_STATE_NONE
;
664
curState ==
CANCELLATION_STATE_NONE
|| curState == CANCELLATION_STATE_REGISTERED ||
671
if (curState ==
CANCELLATION_STATE_NONE
|| // no synchronization necessary if there's no cancellation
699
(_cancellationState ==
CANCELLATION_STATE_NONE
|| // avoid synchronization when cancellation is not in play
720
if (_cancellationState !=
CANCELLATION_STATE_NONE
)