[release/v7.4.14] Fix PSMethodInvocationConstraints.GetHashCode method (#24965) (#26959)

Co-authored-by: crazyjncsu <j@thewolfweb.com>
This commit is contained in:
Justin Chung
2026-03-09 19:43:30 +00:00
committed by GitHub
co-authored by crazyjncsu
parent 66787729ef
commit 8439a5514a
@@ -2009,7 +2009,7 @@ namespace System.Management.Automation
}
public override int GetHashCode()
=> HashCode.Combine(MethodTargetType, ParameterTypes, GenericTypeParameters);
=> HashCode.Combine(MethodTargetType, ParameterTypes.SequenceGetHashCode(), GenericTypeParameters.SequenceGetHashCode());
public override string ToString()
{