namespace System; /// /// A polyfill type that mirrors some methods from on .NET 6. /// internal struct HashCode { /// /// Combines six values into a hash code. /// /// The type of the first value to combine into the hash code. /// The type of the second value to combine into the hash code. /// The type of the third value to combine into the hash code. /// The type of the fourth value to combine into the hash code. /// The type of the fifth value to combine into the hash code. /// The type of the sixth value to combine into the hash code. /// The first value to combine into the hash code. /// The second value to combine into the hash code. /// The third value to combine into the hash code. /// The fourth value to combine into the hash code. /// The fifth value to combine into the hash code. /// The sixth value to combine into the hash code. /// The hash code that represents the six values. public static int Combine(T1 value1, T2 value2, T3 value3, T4 value4, T5 value5, T6 value6) { throw new NotSupportedException(); } /// /// Adds a single value to the hash code. /// /// The type of the value to add to the hash code. /// The value to add to the hash code. public void Add(T value) { throw new NotSupportedException(); } /// /// Calculates the final hash code after consecutive invocations. /// /// The calculated hash code. public int ToHashCode() { throw new NotSupportedException(); } }