From: Stephen Toub Date: Thu, 7 Mar 2019 16:44:32 +0000 (-0800) Subject: Add FileStream.CopyToAsync missing override to ref (dotnet/corefx#35850) X-Git-Tag: submit/tizen/20210909.063632~11031^2~2245 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=368705ea80b3b3ce982e527991b117445e3b247b;p=platform%2Fupstream%2Fdotnet%2Fruntime.git Add FileStream.CopyToAsync missing override to ref (dotnet/corefx#35850) Commit migrated from https://github.com/dotnet/corefx/commit/c710854045bf7ffdffff3c2127b8fddf533ed46f --- 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; } }