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

Member predicate UsingBlockStmt::getExpr

Gets the expression directly used by this using statement, if any. For example, f on line 2 in

var f = File.Open("settings.xml");
using (f) {
  ...
}
Expr getExpr()