mirror of
https://github.com/SabreTools/SabreTools.Serialization.git
synced 2026-11-16 17:30:29 +00:00
Remove now-redundant Equals methods
This commit is contained in:
@@ -75,21 +75,6 @@ namespace SabreTools.Metadata.DatItems.Test
|
||||
// Everything else fails
|
||||
return false;
|
||||
}
|
||||
|
||||
/// <inheritdoc/>
|
||||
public override bool Equals(DatItem<TestDatItemModel>? other)
|
||||
{
|
||||
// If the other value is invalid
|
||||
if (other is null)
|
||||
return false;
|
||||
|
||||
// If the type matches
|
||||
if (other is TestDatItem otherTestDatItem)
|
||||
return _internal.Equals(otherTestDatItem._internal);
|
||||
|
||||
// Everything else fails
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
Reference in New Issue
Block a user