2 writes to _cancelNext
System.IO.Pipelines (2)
System\IO\Pipelines\SequencePipeReader.cs (2)
46
Interlocked.Exchange(ref
_cancelNext
, 1);
78
bool isCancellationRequested = Interlocked.Exchange(ref
_cancelNext
, 0) == 1;