mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
Set correct priority for ?: operator (#12075)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user