9 internal override bool IsAsync =>
true;
17 : base(path, mode, access, share,
options, preallocationSize)
AsyncWindowsFileStreamStrategy(SafeFileHandle handle, FileAccess access)
async Task AsyncModeCopyToAsync(Stream destination, int bufferSize, CancellationToken cancellationToken)
override Task CopyToAsync(Stream destination, int bufferSize, CancellationToken cancellationToken)
AsyncWindowsFileStreamStrategy(string path, FileMode mode, FileAccess access, FileShare share, FileOptions options, long preallocationSize)
static unsafe async Task AsyncModeCopyToAsync(SafeFileHandle handle, bool canSeek, long filePosition, Stream destination, int bufferSize, CancellationToken cancellationToken)
readonly SafeFileHandle _fileHandle
static Task FromCanceled(CancellationToken cancellationToken)
static void ThrowObjectDisposedException_FileClosed()
static void ThrowNotSupportedException_UnreadableStream()