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

Member predicate ForeachStmt::getVariableDeclTuple

Gets the local variable declaration tuple of this foreach loop, if any. For example, (int a, int b) in

foreach ((int a, int b) in items) {
  ...
}
TupleExpr getVariableDeclTuple()