mirror of
https://github.com/github/codeql.git
synced 2025-12-19 18:33:16 +01:00
10 lines
278 B
Plaintext
10 lines
278 B
Plaintext
import dotnet
|
|
import semmle.code.csharp.commons.Disposal
|
|
|
|
from DotNet::Callable c, DotNet::Parameter param, int p
|
|
where
|
|
mayBeDisposed(param) and
|
|
param = c.getParameter(p) and
|
|
c.getDeclaringType().getQualifiedName() = "DisposalTests.Class1"
|
|
select c.toStringWithTypes(), p
|