Code Inspection: Expression is always 'true' or always 'false'
tip
tip
If you want JetBrains Rider to find more redundant comparisons and null checks in your code, use [NotNull], [ItemNotNull], [NonNegativeValue], and [ContractAnnotation] attributes to decorate your symbols or annotate external libraries you often use.