Fix warnings related to non-exhaustive pattern matching. (#31763)
old man shakes fist at modern syntax
This commit is contained in:
@@ -343,6 +343,7 @@ public sealed class StationRecordsSystem : SharedStationRecordsSystem
|
||||
&& IsFilterWithSomeCodeValue(someRecord.Fingerprint, filterLowerCaseValue),
|
||||
StationRecordFilterType.DNA => someRecord.DNA != null
|
||||
&& IsFilterWithSomeCodeValue(someRecord.DNA, filterLowerCaseValue),
|
||||
_ => throw new IndexOutOfRangeException(nameof(filter.Type)),
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user