Skip to content

Commit

Permalink
Add FriendType comparison in Equal()
Browse files Browse the repository at this point in the history
  • Loading branch information
Arkatufus committed Mar 24, 2021
1 parent 4b47778 commit 6b9543d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Hyperion.Tests/Generator/CrossFrameworkClass.cs
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ public override bool Equals(object obj)

protected bool Equals(CrossFrameworkMixedClass other)
{
if (other.Sound != Sound || other.Name != Name)
if (other.Sound != Sound || other.Name != Name || other.FriendType != FriendType)
return false;
return other.Data.Equals(Data);
}
Expand Down

0 comments on commit 6b9543d

Please sign in to comment.