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

Member predicate ArrayInitializer::getAnElement

Gets an element of this array initializer, for example {0, 1} on line 2 (itself an array initializer) in

var ints = new int[,] {
  {0, 1},
  {2, 3},
  {4, 5}
};
Expr getAnElement()