mirror of https://github.com/AMT-Cheif/Stylet.git
Fix LabelledValue<T>.GetHashCode
This commit is contained in:
parent
8c4840702d
commit
bfd6765589
|
@ -29,7 +29,7 @@ namespace Stylet
|
|||
|
||||
public override int GetHashCode()
|
||||
{
|
||||
return this.Label.GetHashCode() ^ this.Value.GetHashCode();
|
||||
return new { this.Label, this.Value }.GetHashCode();
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
|
|
Loading…
Reference in New Issue