1 instantiation of StreamPipeReader
System.IO.Pipelines (1)
System\IO\Pipelines\PipeReader.cs (1)
160return new StreamPipeReader(stream, readerOptions ?? StreamPipeReaderOptions.s_default);
4 references to StreamPipeReader
System.IO.Pipelines (4)
System\IO\Pipelines\StreamPipeReader.cs (4)
245static async ValueTask<ReadResult> Core(StreamPipeReader reader, int? minimumSize, CancellationTokenSource tokenSource, CancellationToken cancellationToken) 250reg = cancellationToken.UnsafeRegister(state => ((StreamPipeReader)state!).Cancel(), reader); 325reg = cancellationToken.UnsafeRegister(state => ((StreamPipeReader)state!).Cancel(), this); 396reg = cancellationToken.UnsafeRegister(state => ((StreamPipeReader)state!).Cancel(), this);