Reduce Linq usage a little bit more

This commit is contained in:
Matt Nadareski
2025-04-14 13:52:43 -04:00
parent 0f2990d706
commit 7726ef4552
4 changed files with 26 additions and 14 deletions

View File

@@ -1,6 +1,5 @@
using System;
using System.IO;
using System.Linq;
using SabreTools.Hashing;
using SabreTools.IO.Extensions;
@@ -25,7 +24,7 @@ namespace SabreTools.Core.Tools
return false;
// Otherwise, they need to match exactly
return firstHash.SequenceEqual(secondHash);
return Matching.Extensions.EqualsExactly(firstHash, secondHash);
}
/// <summary>