CodeQL library for C#
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()