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

Member predicate ArrayCreation::getLengthArgument

Gets the ith dimension’s length argument of this array creation, for example the second (i = 1) dimension’s length is 10 in

new int[5, 10]
Expr getLengthArgument(int i)