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

Member predicate Indexer::getExpressionBody

Gets the expression body of this indexer, if any. For example, the expression body of the indexer on line 2 is 20 in

class C {
  public int this[int i] => 20;
}
Expr getExpressionBody()