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

Module Disposal

Provides predicates for determining whether variables may be disposed.

Import path

import semmle.code.csharp.commons.Disposal

Imports

csharp

The default C# QL library.

Predicates

mayBeDisposed

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