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