Add .NET 6 target (#2677)
This commit is contained in:
@@ -353,7 +353,13 @@ namespace Newtonsoft.Json.Linq
|
||||
|
||||
internal override int GetDeepHashCode()
|
||||
{
|
||||
return _name.GetHashCode() ^ (Value?.GetDeepHashCode() ?? 0);
|
||||
int hash;
|
||||
#if HAVE_GETHASHCODE_STRING_COMPARISON
|
||||
hash = _name.GetHashCode(StringComparison.Ordinal);
|
||||
#else
|
||||
hash = _name.GetHashCode();
|
||||
#endif
|
||||
return hash ^ (Value?.GetDeepHashCode() ?? 0);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user