Fix LabelledValue<T>.GetHashCode

This commit is contained in:
Antony Male 2014-04-04 15:39:10 +01:00
parent 8c4840702d
commit bfd6765589
1 changed files with 1 additions and 1 deletions

View File

@ -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()