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

Predicate nodeGetEnclosingCallable

Gets the callable in which this node occurs.

Import path

import semmle.code.csharp.dataflow.internal.DataFlowPrivate
DataFlowCallable nodeGetEnclosingCallable(Node n)