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

@@ -332,8 +332,7 @@ public static class CompactDisc
{
string isrc = Subchannel.DecodeIsrc(q);
if(isrc == null ||
isrc == "000000000000")
if(isrc is null or "000000000000")
continue;
if(!crcOk)
@@ -363,8 +362,7 @@ public static class CompactDisc
{
string newMcn = Subchannel.DecodeMcn(q);
if(newMcn == null ||
newMcn == "0000000000000")
if(newMcn is null or "0000000000000")
continue;
if(!crcOk)