From 723f512172ab61d7450e6ff76bfb38c297f1780e Mon Sep 17 00:00:00 2001 From: Ryan Liu Date: Thu, 15 Aug 2024 18:23:27 -0700 Subject: [PATCH 1/2] Update PipeWriter.xml "request a new buffer" is not accurate. GetMemory(Int32) could return old buffer. --- xml/System.IO.Pipelines/PipeWriter.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xml/System.IO.Pipelines/PipeWriter.xml b/xml/System.IO.Pipelines/PipeWriter.xml index c362f276c84..ab6a63f5a3b 100644 --- a/xml/System.IO.Pipelines/PipeWriter.xml +++ b/xml/System.IO.Pipelines/PipeWriter.xml @@ -72,7 +72,7 @@ The number of bytes written to the or . - Notifies the that bytes were written to the output or . You must request a new buffer after calling to continue writing more data; you cannot write to a previously acquired buffer. + Notifies the that bytes were written to the output or . You must request call again and use the result to continue writing more data after calling ; you cannot write to a previously acquired buffer. To be added. From 51d723363cc1364418db849946bd329363619dab Mon Sep 17 00:00:00 2001 From: Ryan Liu Date: Fri, 16 Aug 2024 14:14:46 -0700 Subject: [PATCH 2/2] Update xml/System.IO.Pipelines/PipeWriter.xml MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: David CantĂș --- xml/System.IO.Pipelines/PipeWriter.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xml/System.IO.Pipelines/PipeWriter.xml b/xml/System.IO.Pipelines/PipeWriter.xml index ab6a63f5a3b..f9b3ff74039 100644 --- a/xml/System.IO.Pipelines/PipeWriter.xml +++ b/xml/System.IO.Pipelines/PipeWriter.xml @@ -72,7 +72,7 @@ The number of bytes written to the or . - Notifies the that bytes were written to the output or . You must request call again and use the result to continue writing more data after calling ; you cannot write to a previously acquired buffer. + Notifies the that bytes were written to the output or . You must call or again and use the returned buffer to continue writing more data after calling ; you cannot write to a previously acquired buffer. To be added.