mirror of
https://github.com/github/codeql.git
synced 2026-04-19 22:14:01 +02:00
11 lines
298 B
Plaintext
11 lines
298 B
Plaintext
import dotnet
|
|
import semmle.code.csharp.commons.Disposal
|
|
import cil
|
|
|
|
from DotNet::Callable c, DotNet::Parameter param, int p
|
|
where
|
|
not mayBeDisposed(param) and
|
|
param = c.getParameter(p) and
|
|
c.getDeclaringType().hasFullyQualifiedName("DisposalTests", "Class1")
|
|
select c.toStringWithTypes(), p
|