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

Member predicate ForeachStmt::getAVariable

Gets a local variable of this foreach loop.

For example, a and b in

foreach ((int a, int b) in items) {
  ...
}
LocalVariable getAVariable()