From 368705ea80b3b3ce982e527991b117445e3b247b Mon Sep 17 00:00:00 2001 From: Stephen Toub Date: Thu, 7 Mar 2019 08:44:32 -0800 Subject: [PATCH] Add FileStream.CopyToAsync missing override to ref (dotnet/corefx#35850) Commit migrated from https://github.com/dotnet/corefx/commit/c710854045bf7ffdffff3c2127b8fddf533ed46f --- src/libraries/System.Runtime/ref/System.Runtime.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/libraries/System.Runtime/ref/System.Runtime.cs b/src/libraries/System.Runtime/ref/System.Runtime.cs index 92bb929..a85c2b2 100644 --- a/src/libraries/System.Runtime/ref/System.Runtime.cs +++ b/src/libraries/System.Runtime/ref/System.Runtime.cs @@ -5161,6 +5161,7 @@ namespace System.IO public override bool CanRead { get { throw null; } } public override bool CanSeek { get { throw null; } } public override bool CanWrite { get { throw null; } } + public override System.Threading.Tasks.Task CopyToAsync(System.IO.Stream destination, int bufferSize, System.Threading.CancellationToken cancellationToken) { throw null; } [System.ObsoleteAttribute("This property has been deprecated. Please use FileStream's SafeFileHandle property instead. https://go.microsoft.com/fwlink/?linkid=14202")] public virtual System.IntPtr Handle { get { throw null; } } public virtual bool IsAsync { get { throw null; } } -- 2.7.4