Files
codeql/csharp/ql/src/Useless code/DefaultToString.ql
2025-06-17 09:56:43 +02:00

15 lines
372 B
Plaintext

/**
* @name Use of default ToString()
* @description Calling the default implementation of 'ToString' returns a value
* that is unlikely to be what you expect.
* @kind problem
* @problem.severity warning
* @precision very-high
* @id cs/call-to-object-tostring
* @tags quality
* reliability
* correctness
*/
import DefaultToStringQuery