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

Member predicate FormatMethod::getFormatArgument

Gets the argument containing the format string. For example, the argument of string.Format(IFormatProvider, String, Object) is 1.

int getFormatArgument()