Skip to content

Commit 408f9a0

Browse files
committed
Expose MemoryStream internals to HTTP
1 parent fbc7f79 commit 408f9a0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

System.IO.Streams/MemoryStream.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
// See LICENSE file in the project root for full license information.
55
//
66

7+
[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("System.Net.Http, PublicKey=00240000048000009400000006020000002400005253413100040000010001001120aa3e809b3da4f65e1b1f65c0a3a1bf6335c39860ca41acb3c48de278c6b63c5df38239ec1f2e32d58cb897c8c174a5f8e78a9c0b6087d3aef373d7d0f3d9be67700fc2a5a38de1fb71b5b6f6046d841ff35abee2e0b0840a6291a312be184eb311baff5fef0ff6895b9a5f2253aed32fb06b819134f6bb9d531488a87ea2")]
8+
79
namespace System.IO
810
{
911
/// <summary>
@@ -12,7 +14,7 @@ namespace System.IO
1214
public class MemoryStream : Stream
1315
{
1416
// Either allocated internally or externally.
15-
private byte[] _buffer;
17+
internal byte[] _buffer;
1618
// For user-provided arrays, start at this origin
1719
private int _origin;
1820
// read/write head.

0 commit comments

Comments
 (0)