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

Member predicate ForStmt::getAnUpdate

Gets an update expression of this for loop, if any.

For example, i++ in

for (int i = 0; i < 10; i++) {
  ...
}
Expr getAnUpdate()