From d839c005f0adcc68f9e5a16caa8cc73c87a84659 Mon Sep 17 00:00:00 2001 From: Eric StJohn Date: Mon, 19 May 2025 12:22:05 -0700 Subject: [PATCH 1/2] Add documentation for System.Text.Ascii class --- xml/System.Text/Ascii.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xml/System.Text/Ascii.xml b/xml/System.Text/Ascii.xml index a878643cffb..02ca19e8418 100644 --- a/xml/System.Text/Ascii.xml +++ b/xml/System.Text/Ascii.xml @@ -16,8 +16,8 @@ - To be added. - To be added. + Static class containing helper methods for working with ASCII encoded text as bytes or characters. + For APIs which take both a source and a destination buffer, the behavior of the method is undefined if the source and destination buffers overlap, unless the API description specifies otherwise. The behavior of all APIs is undefined if another thread mutates the buffers while these APIs are operating on them. All case conversion APIs are culture-unaware. From ad2263143c6a8473552e1db6a839610deeeb96be Mon Sep 17 00:00:00 2001 From: Eric StJohn Date: Mon, 19 May 2025 13:50:11 -0700 Subject: [PATCH 2/2] Apply suggestions from code review Co-authored-by: Genevieve Warren <24882762+gewarren@users.noreply.github.com> --- xml/System.Text/Ascii.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xml/System.Text/Ascii.xml b/xml/System.Text/Ascii.xml index 02ca19e8418..e4215063c4f 100644 --- a/xml/System.Text/Ascii.xml +++ b/xml/System.Text/Ascii.xml @@ -16,8 +16,8 @@ - Static class containing helper methods for working with ASCII encoded text as bytes or characters. - For APIs which take both a source and a destination buffer, the behavior of the method is undefined if the source and destination buffers overlap, unless the API description specifies otherwise. The behavior of all APIs is undefined if another thread mutates the buffers while these APIs are operating on them. All case conversion APIs are culture-unaware. + Provides helper methods for working with ASCII-encoded text as bytes or characters. + For APIs that take both a source and a destination buffer, the behavior of the method is undefined if the source and destination buffers overlap, unless the description specifies otherwise. The behavior of all APIs is undefined if another thread mutates the buffers while these APIs are operating on them. All case-conversion APIs are culture-unaware.