Skip to content

Commit

Permalink
[corlib] Import System.IO.UnmanagedMemoryStream from CoreFX (#163)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexischr authored and akoeplinger committed Oct 19, 2018
1 parent 742b4f2 commit 2c52920
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Common/src/CoreLib/System/IO/UnmanagedMemoryStream.cs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,11 @@ public class UnmanagedMemoryStream : Stream
private long _position;
private long _offset;
private FileAccess _access;
#if MONO // Mono's HGlobalUnmanagedMemoryStream class uses this field
internal bool _isOpen;
#else
private bool _isOpen;
#endif
private Task<Int32> _lastReadTask; // The last successful task returned from ReadAsync

/// <summary>
Expand Down

0 comments on commit 2c52920

Please sign in to comment.