mirror of
https://github.com/github/codeql.git
synced 2026-03-06 15:49:08 +01:00
10 lines
260 B
Plaintext
10 lines
260 B
Plaintext
import csharp
|
|
import semmle.code.csharp.commons.Disposal
|
|
|
|
from Callable c, Parameter param, int p
|
|
where
|
|
not mayBeDisposed(param) and
|
|
param = c.getParameter(p) and
|
|
c.getDeclaringType().hasFullyQualifiedName("", "Disposal")
|
|
select c.toStringWithTypes(), p
|