Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update src/libraries/System.Private.CoreLib/src/System/IO/Strategies/…
…AsyncWindowsFileStreamStrategy.cs
  • Loading branch information
stephentoub authored Jul 14, 2021
commit 014bcfa5ce48401066ba5a90c4903a585977daeb
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public override Task WriteAsync(byte[] buffer, int offset, int count, Cancellati
public override ValueTask WriteAsync(ReadOnlyMemory<byte> buffer, CancellationToken cancellationToken = default)
=> WriteAsyncInternal(buffer, cancellationToken);

private unsafe ValueTask WriteAsyncInternal(ReadOnlyMemory<byte> source, CancellationToken cancellationToken = default)
private unsafe ValueTask WriteAsyncInternal(ReadOnlyMemory<byte> source, CancellationToken cancellationToken)
{
if (!CanWrite)
{
Expand Down