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