diff options
author | Zoltan Varga <vargaz@gmail.com> | 2015-01-14 00:34:23 +0300 |
---|---|---|
committer | Zoltan Varga <vargaz@gmail.com> | 2015-01-14 00:34:23 +0300 |
commit | c1b43669320f96e4a2a482d993b7b36bb5e59496 (patch) | |
tree | f618f341e716106fbffc86504696e8a02395e4a8 /mcs/class/corlib/System.IO/MemoryStream.cs | |
parent | 2375c74a646b46877c5441f06f231529e5206425 (diff) |
[bcl] Remove NET_4_5 defines from class libs.
Diffstat (limited to 'mcs/class/corlib/System.IO/MemoryStream.cs')
-rw-r--r-- | mcs/class/corlib/System.IO/MemoryStream.cs | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/mcs/class/corlib/System.IO/MemoryStream.cs b/mcs/class/corlib/System.IO/MemoryStream.cs index 4ce86df30b6..995cf46af40 100644 --- a/mcs/class/corlib/System.IO/MemoryStream.cs +++ b/mcs/class/corlib/System.IO/MemoryStream.cs @@ -34,9 +34,7 @@ using System.Globalization; using System.Runtime.InteropServices; using System.Threading; -#if NET_4_5 using System.Threading.Tasks; -#endif namespace System.IO { @@ -55,10 +53,8 @@ namespace System.IO bool streamClosed; int position; int dirty_bytes; -#if NET_4_5 [NonSerialized] Task<int> read_task; -#endif public MemoryStream () : this (0) { @@ -425,7 +421,6 @@ namespace System.IO stream.Write (internalBuffer, initialIndex, length - initialIndex); } -#if NET_4_5 public override Task CopyToAsync (Stream destination, int bufferSize, CancellationToken cancellationToken) { @@ -495,6 +490,5 @@ namespace System.IO return Task<object>.FromException (ex); } } -#endif } } |