diff --git a/src/libraries/System.Private.CoreLib/src/System/IO/File.cs b/src/libraries/System.Private.CoreLib/src/System/IO/File.cs index 9f0476350464c..87f0bae47348f 100644 --- a/src/libraries/System.Private.CoreLib/src/System/IO/File.cs +++ b/src/libraries/System.Private.CoreLib/src/System/IO/File.cs @@ -819,6 +819,7 @@ public static void AppendAllBytes(string path, ReadOnlySpan bytes) /// The file to append to. /// The bytes to append to the file. /// The token to monitor for cancellation requests. The default value is . + /// A task that represents the asynchronous append operation. /// is null. /// is null. /// is empty. @@ -837,6 +838,7 @@ public static Task AppendAllBytesAsync(string path, byte[] bytes, CancellationTo /// The file to append to. /// The bytes to append to the file. /// The token to monitor for cancellation requests. The default value is . + /// A task that represents the asynchronous append operation. /// is null. /// is empty. /// The cancellation token was canceled. This exception is stored into the returned task. diff --git a/src/libraries/System.Private.CoreLib/src/System/IO/FileStream.cs b/src/libraries/System.Private.CoreLib/src/System/IO/FileStream.cs index a7f6aaecb5b85..cee3482ea9357 100644 --- a/src/libraries/System.Private.CoreLib/src/System/IO/FileStream.cs +++ b/src/libraries/System.Private.CoreLib/src/System/IO/FileStream.cs @@ -536,6 +536,7 @@ public override void CopyTo(Stream destination, int bufferSize) _strategy.CopyTo(destination, bufferSize); } + /// public override Task CopyToAsync(Stream destination, int bufferSize, CancellationToken cancellationToken) { ValidateCopyToArguments(destination, bufferSize);