Skip to content

Commit

Permalink
use OrdinalIgnoreCase instead of ToLowerInvariant
Browse files Browse the repository at this point in the history
  • Loading branch information
jmarolf committed Apr 29, 2019
1 parent dbc31e4 commit 0299cb7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -930,7 +930,7 @@ Namespace Microsoft.VisualStudio.Editors.PropertyPages.WPF
End Function

Public Overrides Function GetHashCode() As Integer
Return -1937169414 + EqualityComparer(Of String).Default.GetHashCode(Value.ToLowerInvariant)
Return -1937169414 + StringComparer.OrdinalIgnoreCase.GetHashCode(Value)
End Function

End Class
Expand Down

0 comments on commit 0299cb7

Please sign in to comment.