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