From 3580c1f80dba7960edf7a3ce33417da5a94e11f6 Mon Sep 17 00:00:00 2001 From: rampaa Date: Thu, 17 Oct 2024 21:47:27 +0300 Subject: [PATCH] Minor --- JL.Core/Deconjugation/Form.cs | 7 ------- 1 file changed, 7 deletions(-) diff --git a/JL.Core/Deconjugation/Form.cs b/JL.Core/Deconjugation/Form.cs index e0ac6f58..828d4d26 100644 --- a/JL.Core/Deconjugation/Form.cs +++ b/JL.Core/Deconjugation/Form.cs @@ -19,7 +19,6 @@ public override bool Equals(object? obj) && Text == form.Text && OriginalText == form.OriginalText && Tags.SequenceEqual(form.Tags) - && SeenText.SetEquals(form.SeenText) && Process.SequenceEqual(form.Process); } @@ -29,7 +28,6 @@ public bool Equals(Form? other) && Text == other.Text && OriginalText == other.OriginalText && Tags.SequenceEqual(other.Tags) - && SeenText.SetEquals(other.SeenText) && Process.SequenceEqual(other.Process); } @@ -50,11 +48,6 @@ public override int GetHashCode() hash = (hash * 37) + process.GetHashCode(StringComparison.Ordinal); } - foreach (string seenText in SeenText) - { - hash = (hash * 37) + seenText.GetHashCode(StringComparison.Ordinal); - } - return hash; } }