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

Class Flow::ClosureNode

A data flow node that we need to reference in the step relations for captured variables.

Note that only the SynthesizedCaptureNode subclass is expected to be added as additional nodes in DataFlow::Node. The other subclasses are expected to already be present and are included here in order to reference them in the step relations.

Import path

import codeql.dataflow.VariableCapture

Direct supertypes

Known direct subtypes



Gets the location of this node.


Gets a textual representation of this node.