mirror of
https://github.com/github/codeql.git
synced 2025-12-17 01:03:14 +01:00
16 lines
357 B
Plaintext
16 lines
357 B
Plaintext
/**
|
|
* @id cs/examples/method-call
|
|
* @name Call to method
|
|
* @description Finds calls to method 'Company.Class.MethodName'.
|
|
* @tags call
|
|
* method
|
|
*/
|
|
|
|
import csharp
|
|
|
|
from MethodCall call, Method method
|
|
where call.getTarget() = method
|
|
and method.hasName("MethodName")
|
|
and method.getDeclaringType().hasQualifiedName("Company.Class")
|
|
select call
|