Add back parentheses
MODIFY
WalletWasabi/Extensions/ListExtensions.cs
WalletWasabi/Extensions/ListExtensions.cs
@@ -24,7 +24,7 @@ public static class ListExtensions
while (lower <= upper)
{
- int middle = lower + (upper - lower) / 2;
+ int middle = lower + ((upper - lower) / 2);
int comparisonResult = list[middle].CompareTo(value);
if (comparisonResult < 0)

MODIFY
WalletWasabi/Helpers/IoHelpers.cs
WalletWasabi/Helpers/IoHelpers.cs
@@ -95,9 +95,9 @@ public static class IoHelpers
{
FileName = RuntimeInformation.IsOSPlatform(OSPlatform.Windows)
? "explorer.exe"
- : RuntimeInformation.IsOSPlatform(OSPlatform.OSX)
+ : (RuntimeInformation.IsOSPlatform(OSPlatform.OSX)
? "open"
- : "xdg-open",
+ : "xdg-open"),
Arguments = RuntimeInformation.IsOSPlatform(OSPlatform.Windows) ? $"\"{dirPath}\"" : dirPath,
CreateNoWindow = true
});

Add back parentheses