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