Files
codeql/csharp/ql/src/Useless code/DefaultToString.ql

14 lines
354 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 reliability
* maintainability
*/
import DefaultToString