Skip to content

Conversation

@michaelnebel
Copy link
Contributor

@michaelnebel michaelnebel commented Feb 24, 2025

As described here the use of value tuples leads to false positives for cs/call-to-object-tostring. This is because we need consider the underlying type of the TupleType.
To make the solution a bit more precise we decided to take the element types into account instead (as ValueTuple overrides ToString and calls the ToString method on each element in the tuple).

@michaelnebel michaelnebel marked this pull request as ready for review February 25, 2025 09:23
@michaelnebel michaelnebel requested a review from a team as a code owner February 25, 2025 09:23
@michaelnebel michaelnebel merged commit a35510d into github:main Feb 25, 2025
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants