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

Predicate MakeImplCommon::getNodeEnclosingCallable

Gets the enclosing callable of n. Unlike n.getEnclosingCallable(), this predicate ensures that joins go from n to the result instead of the other way around.

Import path

import codeql.dataflow.internal.DataFlowImplCommon
DataFlowCallable getNodeEnclosingCallable(Node n)