diff options
author | Ludovic Henry <ludovic@xamarin.com> | 2017-02-23 20:20:53 +0300 |
---|---|---|
committer | Ludovic Henry <ludovic@xamarin.com> | 2017-02-23 20:20:53 +0300 |
commit | 115303a71a167679f327b76fcc82a6474b480446 (patch) | |
tree | cf554c64f3c1f16070ffaa966764d9004de10256 | |
parent | 7105792bf9725aa53efd3a40e04275c26140173b (diff) |
[mono] Import System.IO.MemoryStreamcorert-stream
-rw-r--r-- | src/System.Private.CoreLib/src/System/IO/MemoryStream.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/System.Private.CoreLib/src/System/IO/MemoryStream.cs b/src/System.Private.CoreLib/src/System/IO/MemoryStream.cs index f073ed242..037322b8d 100644 --- a/src/System.Private.CoreLib/src/System/IO/MemoryStream.cs +++ b/src/System.Private.CoreLib/src/System/IO/MemoryStream.cs @@ -6,6 +6,7 @@ using System.Threading; using System.Threading.Tasks; using System.Diagnostics; using System.Diagnostics.Contracts; +using System.Diagnostics.Private; namespace System.IO { @@ -18,7 +19,7 @@ namespace System.IO // memory streams are resizable, while ones created with a byte array provide // a stream "view" of the data. [Serializable] - public class MemoryStream : Stream + public partial class MemoryStream : Stream { private byte[] _buffer; // Either allocated internally or externally. private int _origin; // For user-provided arrays, start at this origin |