mirror of
https://github.com/github/codeql.git
synced 2026-04-18 13:34:02 +02: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
|