-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve documentation of StringValues.IsNullOrEmpty() with regard to empty string #49626
Comments
I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label. |
Tagging subscribers to this area: @eerhardt, @maryamariyan Issue DetailsDescriptionThe docs on
This is not technically correct, since the method also returns true if the
For the sake of correctness I suggest changing the docs to:
ConfigurationRegression?Other information
|
Fix #49626 Co-authored-by: Guanbo Wang <GWang26@slb.com>
Description
The docs on
StringValues.IsNullOrEmpty()
says that the method returns:runtime/src/libraries/Microsoft.Extensions.Primitives/src/StringValues.cs
Line 422 in 5ef6a06
This is not technically correct, since the method also returns true if the
StringValues
contains a single empty string:For the sake of correctness I suggest changing the docs to:
Configuration
Regression?
Other information
The text was updated successfully, but these errors were encountered: