Set correct priority for ?: operator (#12075)

This commit is contained in:
Damir Ainullin
2020-03-19 08:54:39 +05:00
committed by GitHub
parent c737f3162c
commit 5da06978b1
@@ -1178,7 +1178,7 @@ namespace System.Management.Automation.Language
public bool Equals(PSInvokeDynamicMemberBinderKeyType x, PSInvokeDynamicMemberBinderKeyType y)
{
return x.Item1.Equals(y.Item1) &&
x.Item2 == null ? y.Item2 == null : x.Item2.Equals(y.Item2) &&
((x.Item2 == null) ? y.Item2 == null : x.Item2.Equals(y.Item2)) &&
x.Item3 == y.Item3 &&
x.Item4 == y.Item4 &&
x.Item5 == y.Item5;