Visual Studio 2019 struck me with surprise suggesting a code simplification
The resulting code after applying the suggested simplification
<