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

Predicate Flow::clearsContent

Holds if captured variable v is cleared at node.

Import path

import codeql.dataflow.VariableCapture
predicate clearsContent(ClosureNode node, CapturedVariable v)