mirror of
https://github.com/github/codeql.git
synced 2025-12-18 01:33:15 +01:00
15 lines
412 B
Plaintext
15 lines
412 B
Plaintext
import csharp
|
|
|
|
query predicate methodCallTargets(MethodCall mc, Method m, string sig) {
|
|
m = mc.getTarget() and sig = m.toStringWithTypes()
|
|
}
|
|
|
|
query predicate genericMethodCallTargets(
|
|
MethodCall mc, ConstructedMethod cm, string sig1, UnboundGenericMethod ugm, string sig2
|
|
) {
|
|
cm = mc.getTarget() and
|
|
sig1 = cm.toStringWithTypes() and
|
|
ugm = cm.getUnboundGeneric() and
|
|
sig2 = ugm.toStringWithTypes()
|
|
}
|