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

Predicate VariableCapture::CaptureInput::basicBlockGetEnclosingCallable

Gets the enclosing callable of the basic block.

Import path

import semmle.code.csharp.dataflow.internal.DataFlowPrivate
Callable basicBlockGetEnclosingCallable(BasicBlock bb)