Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
CodeQL library for C#
codeql/csharp-all 5.1.6 (changelog, source)

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()