Update EnumerateLines docs (#55367)
authorLevi Broderick <GrabYourPitchforks@users.noreply.github.com>
Thu, 22 Jul 2021 18:13:24 +0000 (11:13 -0700)
committerGitHub <noreply@github.com>
Thu, 22 Jul 2021 18:13:24 +0000 (11:13 -0700)
src/libraries/System.Private.CoreLib/src/System/MemoryExtensions.Globalization.cs

index ccf8f50..46c19e0 100644 (file)
@@ -385,8 +385,9 @@ namespace System
         /// Returns an enumeration of lines over the provided span.
         /// </summary>
         /// <remarks>
-        /// See the documentation for <see cref="string.ReplaceLineEndings"/> for more information
-        /// on how newline sequences are detected.
+        /// It is recommended that protocol parsers not utilize this API. See the documentation
+        /// for <see cref="string.ReplaceLineEndings"/> for more information on how newline
+        /// sequences are detected.
         /// </remarks>
         public static SpanLineEnumerator EnumerateLines(this ReadOnlySpan<char> span)
         {
@@ -397,8 +398,9 @@ namespace System
         /// Returns an enumeration of lines over the provided span.
         /// </summary>
         /// <remarks>
-        /// See the documentation for <see cref="string.ReplaceLineEndings"/> for more information
-        /// on how newline sequences are detected.
+        /// It is recommended that protocol parsers not utilize this API. See the documentation
+        /// for <see cref="string.ReplaceLineEndings"/> for more information on how newline
+        /// sequences are detected.
         /// </remarks>
         public static SpanLineEnumerator EnumerateLines(this Span<char> span)
         {