mirror of
https://github.com/github/codeql.git
synced 2025-12-18 18:10:39 +01:00
7 lines
162 B
Plaintext
7 lines
162 B
Plaintext
import csharp
|
|
|
|
query predicate deadCode(MethodCall c) {
|
|
c.getTarget().getName() = "DeadCode" and
|
|
not exists(ControlFlow::Node node | node.getElement() = c)
|
|
}
|