CodeQL library for C#
codeql/csharp-all 0.6.2 ( 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 ( )