CodeQL library for C#
codeql/csharp-all 0.8.9 (changelog, source)

Member predicate FormatCall::getSuppliedArguments

Gets the number of supplied arguments (excluding the format string and format provider). Does not return a value if the arguments are supplied in an array, in which case we generally can’t assess the size of the array.

int getSuppliedArguments()