Files
codeql/csharp/ql/test/library-tests/dispatch/GetADynamicTarget.ql
2024-04-08 13:46:45 +02:00

10 lines
275 B
Plaintext

import csharp
import semmle.code.csharp.commons.QualifiedName
import semmle.code.csharp.dispatch.Dispatch
from DispatchCall call, Callable callable
where
callable = call.getADynamicTarget() and
callable.fromSource()
select call, getFullyQualifiedNameWithTypes(callable)