diff --git a/src/SixLabors.Core/Helpers/HashHelpers.cs b/src/SixLabors.Core/Helpers/HashHelpers.cs index d45d75bf0..b6241789b 100644 --- a/src/SixLabors.Core/Helpers/HashHelpers.cs +++ b/src/SixLabors.Core/Helpers/HashHelpers.cs @@ -1,6 +1,8 @@ // Copyright (c) Six Labors and contributors. // Licensed under the Apache License, Version 2.0. +using System; + namespace SixLabors { /// @@ -14,6 +16,7 @@ namespace SixLabors /// Hash code one /// Hash code two /// Returns a hash code for the provided hash codes. + [Obsolete("Use HashCode.Combine instead")] public static int Combine(int h1, int h2) { // Lifted from coreFX repo @@ -33,6 +36,7 @@ namespace SixLabors /// Hash code two /// Hash code three /// Returns a hash code for the provided hash codes. + [Obsolete("Use HashCode.Combine instead")] public static int Combine(int h1, int h2, int h3) { int hash = Combine(h1, h2); @@ -50,6 +54,7 @@ namespace SixLabors /// Hash code three /// Hash code four /// Returns a hash code for the provided hash codes. + [Obsolete("Use HashCode.Combine instead")] public static int Combine(int h1, int h2, int h3, int h4) { int hash = Combine(h1, h2);