Call to method

Author: LGTM

import csharp

from MethodCall call, Method method
where
  call.getTarget() = method and
  method.hasName("MethodName") and
  method.getDeclaringType().hasQualifiedName("Company.Class")
select call

Description

Finds calls to method 'Company.Class.MethodName'.