mirror of
https://github.com/github/codeql.git
synced 2026-03-23 07:56:54 +01:00
8 lines
260 B
Plaintext
8 lines
260 B
Plaintext
import csharp
|
|
import semmle.code.csharp.frameworks.System
|
|
|
|
from ValueOrRefType t, Method m, boolean b
|
|
where t.fromSource() and m = getInvokedDisposeMethod(t)
|
|
and if implementsDispose(t) then b = true else b = false
|
|
select t, m.getQualifiedNameWithTypes(), b
|