mirror of
https://github.com/github/codeql.git
synced 2025-12-17 17:23:36 +01:00
11 lines
323 B
Plaintext
11 lines
323 B
Plaintext
import csharp
|
|
import semmle.code.csharp.dispatch.Dispatch
|
|
|
|
query predicate getADynamicTargetInCallContext(
|
|
DispatchCall call, Callable callable, DispatchCall ctx
|
|
) {
|
|
callable = call.getADynamicTargetInCallContext(ctx)
|
|
}
|
|
|
|
query predicate mayBenefitFromCallContext(DispatchCall call) { call.mayBenefitFromCallContext() }
|