From aa26712e1c302d278686f31432ad6e491cf8fd12 Mon Sep 17 00:00:00 2001 From: Guanbo Wang Date: Mon, 15 Mar 2021 13:34:32 +0800 Subject: [PATCH] Improve docs for StringValues.IsNullOrEmpty for empty strings Fix #49626 --- .../Microsoft.Extensions.Primitives/src/StringValues.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libraries/Microsoft.Extensions.Primitives/src/StringValues.cs b/src/libraries/Microsoft.Extensions.Primitives/src/StringValues.cs index 1c88bfbd05a9e..25c586d9a9e97 100644 --- a/src/libraries/Microsoft.Extensions.Primitives/src/StringValues.cs +++ b/src/libraries/Microsoft.Extensions.Primitives/src/StringValues.cs @@ -419,7 +419,7 @@ IEnumerator IEnumerable.GetEnumerator() /// Indicates whether the specified contains no string values. /// /// The to test. - /// true if value contains a single null string or empty array; otherwise, false. + /// true if value contains a single null or empty string or an empty array; otherwise, false. public static bool IsNullOrEmpty(StringValues value) { object data = value._values;