Add missing equality implementations on IRulesetInfo

This commit is contained in:
Dean Herbert
2021-12-03 18:01:29 +09:00
parent 675ecb603f
commit 15db1372aa
3 changed files with 6 additions and 1 deletions

View File

@ -49,6 +49,8 @@ namespace osu.Game.Rulesets
public override bool Equals(object obj) => obj is RulesetInfo rulesetInfo && Equals(rulesetInfo);
public bool Equals(IRulesetInfo other) => other is RulesetInfo b && Equals(b);
[SuppressMessage("ReSharper", "NonReadonlyMemberInGetHashCode")]
public override int GetHashCode()
{