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

Member predicate DelegateLikeCall :: getExpr

Gets the delegate or function pointer expression of this call. For example, the delegate expression of X() on line 5 is the access to the field X in

class A {
  Action X = () => { };

  void CallX() {
    X();
  }
}
Expr getExpr ( )