Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.
/ corefx Public archive

Commit 0228f94

Browse files
author
Geoff Kizer
committed
add private modifier to nested Stream implementations
1 parent 79481df commit 0228f94

File tree

1 file changed

+2
-2
lines changed
  • src/System.Net.Http/src/System/Net/Http/SocketsHttpHandler

1 file changed

+2
-2
lines changed

src/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/Http2Stream.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -484,7 +484,7 @@ public void Dispose()
484484
}
485485
}
486486

487-
sealed class Http2ReadStream : BaseAsyncStream
487+
private sealed class Http2ReadStream : BaseAsyncStream
488488
{
489489
private readonly Http2Stream _http2Stream;
490490
private int _disposed; // 0==no, 1==yes
@@ -525,7 +525,7 @@ public override ValueTask<int> ReadAsync(Memory<byte> destination, CancellationT
525525
}
526526

527527

528-
sealed class Http2WriteStream : BaseAsyncStream
528+
private sealed class Http2WriteStream : BaseAsyncStream
529529
{
530530
private readonly Http2Stream _http2Stream;
531531
private int _disposed; // 0==no, 1==yes

0 commit comments

Comments
 (0)