Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit 4b11480

Browse files
Kristian Hellangstephentoub
authored andcommitted
Expose Stream.CopyToAsync overload without buffer size
1 parent 5c2f5ae commit 4b11480

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5213,6 +5213,7 @@ public void CopyTo(System.IO.Stream destination) { }
52135213
public virtual void CopyTo(System.IO.Stream destination, int bufferSize) { }
52145214
public System.Threading.Tasks.Task CopyToAsync(System.IO.Stream destination) { throw null; }
52155215
public System.Threading.Tasks.Task CopyToAsync(System.IO.Stream destination, int bufferSize) { throw null; }
5216+
public System.Threading.Tasks.Task CopyToAsync(System.IO.Stream destination, System.Threading.CancellationToken cancellationToken) { throw null; }
52165217
public virtual System.Threading.Tasks.Task CopyToAsync(System.IO.Stream destination, int bufferSize, System.Threading.CancellationToken cancellationToken) { throw null; }
52175218
public virtual void Close() { }
52185219
[System.ObsoleteAttribute("CreateWaitHandle will be removed eventually. Please use \"new ManualResetEvent(false)\" instead.")]

0 commit comments

Comments
 (0)