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

Member predicate AccessorCall::getTarget

Gets the static (compile-time) target of this call. For example, the static target of x.M() on line 9 is A.M in

class A {
  virtual void M() { }

class B : A {
  override void M() { }

  static void CallM(A x) {

Use getARuntimeTarget() instead to get a potential run-time target (will include B.M in the example above).

Accessor getTarget()