Merge null/pattern checks into complex pattern.

This commit is contained in:
2022-11-13 20:46:24 +00:00
parent c68760ec49
commit a8a74f385a
39 changed files with 75 additions and 133 deletions

View File

@@ -414,8 +414,8 @@ public sealed partial class Udif
return ErrorNumber.NotImplemented;
}
if(bChnk.type > CHUNK_TYPE_NOCOPY && bChnk.type < CHUNK_TYPE_COMMNT ||
bChnk.type > CHUNK_TYPE_LZMA && bChnk.type < CHUNK_TYPE_END)
if(bChnk.type is > CHUNK_TYPE_NOCOPY and < CHUNK_TYPE_COMMNT ||
bChnk.type is > CHUNK_TYPE_LZMA and < CHUNK_TYPE_END)
{
AaruConsole.ErrorWriteLine($"Unsupported chunk type 0x{bChnk.type:X8} found");