You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
When the this keyword is used in an interpolated string with no property identifiers/ methods, C# treats the this keyword to implicitly be this.toString(). In testing, doing $"{this}" and $"{this.toString()}" result in the same string, however CodeQL only seems to be detecting the taint flow with the version with .toString() (see attached file). Can a future release of CodeQL please fix this so that we can properly track taint flows when they pass through fields that are used in the toString() method? Thank you. Attached zip
The text was updated successfully, but these errors were encountered:
Hello,
When the
this
keyword is used in an interpolated string with no property identifiers/ methods, C# treats thethis
keyword to implicitly bethis.toString()
. In testing, doing$"{this}"
and$"{this.toString()}"
result in the same string, however CodeQL only seems to be detecting the taint flow with the version with.toString()
(see attached file). Can a future release of CodeQL please fix this so that we can properly track taint flows when they pass through fields that are used in the toString() method? Thank you.Attached zip
The text was updated successfully, but these errors were encountered: