This repository was archived by the owner on Jan 23, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
System.Memory/src/System/Buffers Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ public partial struct FlushResult
1414 public bool IsCanceled { get { throw null ; } }
1515 public bool IsCompleted { get { throw null ; } }
1616 }
17- public partial interface IDuplexPipe : System . IDisposable
17+ public partial interface IDuplexPipe
1818 {
1919 System . IO . Pipelines . PipeReader Input { get ; }
2020 System . IO . Pipelines . PipeWriter Output { get ; }
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ namespace System.IO.Pipelines
77 /// <summary>
88 /// Defines a class that provides a duplex pipe from which data can be read from and written to.
99 /// </summary>
10- public interface IDuplexPipe : IDisposable
10+ public interface IDuplexPipe
1111 {
1212 /// <summary>
1313 /// Gets the <see cref="PipeReader"/> half of the duplex pipe.
Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ public static T[] ToArray<T>(this ReadOnlySequence<T> sequence)
6060 /// </summary>
6161 public static void Write < T > ( this IBufferWriter < T > bufferWriter , ReadOnlySpan < T > source )
6262 {
63- Span < byte > destination = bufferWriter . GetSpan ( ) ;
63+ Span < T > destination = bufferWriter . GetSpan ( ) ;
6464
6565 // Fast path, try copying to the available memory directly
6666 if ( source . Length <= destination . Length )
You can’t perform that action at this time.
0 commit comments