mirror of
https://github.com/github/codeql.git
synced 2026-03-27 09:48:16 +01:00
10 lines
274 B
Plaintext
10 lines
274 B
Plaintext
import cil
|
|
import semmle.code.csharp.commons.Disposal
|
|
import Whitelist
|
|
|
|
from CIL::Field field
|
|
where mayBeDisposed(field)
|
|
and field.getName().charAt(0) = "_" // Filter the results a little
|
|
and not whitelistedType(field.getDeclaringType())
|
|
select field.getQualifiedName()
|