Use merge pattern.

This commit is contained in:
2022-03-16 11:47:00 +00:00
parent 5f14f0e79c
commit ff65da6c48
115 changed files with 4810 additions and 5220 deletions

View File

@@ -30,8 +30,6 @@
// Copyright © 2011-2022 Natalia Portillo
// ****************************************************************************/
// ReSharper disable JoinDeclarationAndInitializer
// ReSharper disable InlineOutVariableDeclaration
// ReSharper disable TooWideLocalVariableScope
@@ -253,8 +251,7 @@ partial class Dump
_speed *= _speedMultiplier;
if(_speed == 0 ||
_speed > 0xFFFF)
if(_speed is 0 or > 0xFFFF)
_speed = 0xFFFF;
currentReadSpeed = _speed;