diff --git a/ArchiSteamFarm/Compatibility/HashCode.cs b/ArchiSteamFarm/Compatibility/HashCode.cs index f460fa413..683a812eb 100644 --- a/ArchiSteamFarm/Compatibility/HashCode.cs +++ b/ArchiSteamFarm/Compatibility/HashCode.cs @@ -19,16 +19,13 @@ // See the License for the specific language governing permissions and // limitations under the License. +#if NETFRAMEWORK using JetBrains.Annotations; namespace ArchiSteamFarm.Compatibility { [PublicAPI] public static class HashCode { - public static int Combine(T1 value1, T2 value2, T3 value3) => -#if NETFRAMEWORK - (value1, value2, value3).GetHashCode(); -#else - System.HashCode.Combine(value1, value2, value3); -#endif + public static int Combine(T1 value1, T2 value2, T3 value3) => (value1, value2, value3).GetHashCode(); } } +#endif