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