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

Member predicate LocalVariableDeclStmt::getAVariableDeclExpr

Gets a local variable declaration, for example x = null and y = "" in

void M() {
  string x = null, y = "";
}
LocalVariableDeclExpr getAVariableDeclExpr()