-
Notifications
You must be signed in to change notification settings - Fork 237
Open
Description
Description
S2583 is raising when a collection is checked for Any with two distinct conditions
Reproducer
Private Sub Solve(Ns() As Node)
If Ns.Any(Function(X) X.DAC AndAlso X.FFT) Then
'Do something
ElseIf Ns.Any(Function(X) X.DAC OrElse X.FFT) Then 'Noncompliant FP, condition is not the same
'Do something
Else
'AoC
End If
End Sub
Private Class Node
Public DAC, FFT As Boolean
End Class
Product and Version
SQ for VS 9.2.0
Metadata
Metadata
Assignees
Labels
No labels