This repository was archived by the owner on Nov 20, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 191
Should StringValues implement Equals? #384
Labels
Comments
Since |
@Tratcher can you round up @lodejard and @davidfowl to get an answer for this now-ish? |
@rynowak we did this right? |
@davidfowl - it implements |
This issue was moved to dotnet/aspnetcore#2726 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
StringValues does not currently implement Equals (or GetHashCode). MVC implements their own wrapper that has Equals. If so, what should be considered equal?
"string" == new[] { "string" }?
string.Empty == null?
null == new[] { null }?
"value1,value2" == new[] { "value1", "value2" }?
Ordinal?
The text was updated successfully, but these errors were encountered: