mirror of
https://github.com/github/codeql.git
synced 2025-12-24 04:36:35 +01:00
10 lines
267 B
Plaintext
10 lines
267 B
Plaintext
import csharp
|
|
import semmle.code.csharp.frameworks.System
|
|
|
|
from ValueOrRefType t, Method m, boolean b
|
|
where
|
|
t.fromSource() and
|
|
m = getInvokedEqualsMethod(t) and
|
|
if implementsEquals(t) then b = true else b = false
|
|
select t, m.getFullyQualifiedNameWithTypes(), b
|