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