More target-typed new and redundant paranthesis cleanup

This commit is contained in:
Kwoth
2021-12-20 00:33:11 +01:00
parent 345a9e9524
commit 1b2017024c
152 changed files with 573 additions and 580 deletions

View File

@@ -68,7 +68,7 @@ public class TicTacToe
};
_phase = Phase.Starting;
_moveLock = new SemaphoreSlim(1, 1);
_moveLock = new(1, 1);
}
private string GetText(LocStr key)
@@ -149,7 +149,7 @@ public class TicTacToe
_phase = Phase.Started;
_timeoutTimer = new Timer(async (_) =>
_timeoutTimer = new(async _ =>
{
await _moveLock.WaitAsync().ConfigureAwait(false);
try