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

Commit f213048

Browse files
StephaneGrazianojustcoding121
authored andcommitted
Allow async read/write for .netstandard 2.0
1 parent 9279e79 commit f213048

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/StreamExtended/Network/CustomBufferedStream.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -605,7 +605,7 @@ private static void ResizeBuffer(ref byte[] buffer, long size)
605605
buffer = newBuffer;
606606
}
607607

608-
#if NET45
608+
#if NET45 || NETSTANDARD2_0
609609

610610
/// <summary>
611611
/// Base Stream.BeginRead will call this.Read and block thread (we don't want this, Network stream handles async)

0 commit comments

Comments
 (0)