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

Member predicate InterpolatedStringExpr::getInsert

Gets the insert at index i in this interpolated string, if any. For example, the insert at index i = 1 is name in $"Hello, {name}!". Note that there is no insert at index i = 0, but instead a text element (getText(0) gets the text).

Expr getInsert(int i)