Add FileStream.CopyToAsync missing override to ref (dotnet/corefx#35850)
authorStephen Toub <stoub@microsoft.com>
Thu, 7 Mar 2019 16:44:32 +0000 (08:44 -0800)
committerGitHub <noreply@github.com>
Thu, 7 Mar 2019 16:44:32 +0000 (08:44 -0800)
Commit migrated from https://github.com/dotnet/corefx/commit/c710854045bf7ffdffff3c2127b8fddf533ed46f

src/libraries/System.Runtime/ref/System.Runtime.cs

index 92bb929..a85c2b2 100644 (file)
@@ -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; } }