Static analysis - avoid unnecessary counts #713
Labels
developer experience
Resolving this issue should improve development experience for the library users.
Milestone
It would be nice to have static analysis detect following scenario as invalid:
Since the array is not nullable
foreach
would do nothing, so count is unnecessary.#Ref: #712 (comment)
The text was updated successfully, but these errors were encountered: