CodeQL library for C#
codeql/csharp-all 0.9.0 (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()