diff --git a/xml/System.Text/Rune.xml b/xml/System.Text/Rune.xml index 10acdb37994..610e69dc408 100644 --- a/xml/System.Text/Rune.xml +++ b/xml/System.Text/Rune.xml @@ -327,7 +327,7 @@ The general convention is to call this method in a loop, slicing the `source` bu if the source buffer begins with a valid UTF-8 encoded scalar value. then contains the decoded , and contains the number of values used in the input buffer to encode the . - if the source buffer is empty or contains only a standalone UTF-8 high surrogate character. then contains , and contains the length of the input buffer. + if the source buffer is empty or contains only a partial UTF-8 subsequence. then contains , and contains the length of the input buffer. if the source buffer begins with an ill-formed UTF-8 encoded scalar value. then contains , and contains the number of values used in the input buffer to encode the ill-formed sequence. . @@ -427,7 +427,7 @@ This method is very similar to if the source buffer ends with a valid UTF-8 encoded scalar value. then contains the decoded , and contains the number of values used in the input buffer to encode the . - if the source buffer is empty or contains only a standalone UTF-8 high surrogate character. then contains , and contains the length of the input buffer. + if the source buffer is empty or contains only a partial UTF-8 subsequence. then contains , and contains the length of the input buffer. if the source buffer ends with an ill-formed UTF-8 encoded scalar value. then contains , and contains the number of values used in the input buffer to encode the ill-formed sequence.