csharpsquid:S2589 is hit for 'is type pattern matching assignment' expressions

Version: SonarCloud 8.2

When using c# is Type expressions where the type is bool and using pattern matching with variable assignment the rule csharpsquid:S2589 is hit because sonarcloud thinks the result of the is type expression is assigned to the variable, when in fact the value of the left hand variable is assigned to a new variable.

See SonarCloud project for reproduction:

Reproduction repository:

thanks @Rouke.Broersma.IS we track this in S2589 FP with ‘is’ pattern #3123