CodeQL library for C#
codeql/csharp-all 0.9.0 (changelog, source)
Search

Predicate mayBeDisposed

Hold if variable might be disposed. This is a conservative overestimate.

Import path

import semmle.code.csharp.commons.Disposal
predicate mayBeDisposed(Variable variable)