Files
codeql/csharp/ql/test/library-tests/dispatch/GetADynamicTarget.ql
2018-12-20 10:19:59 +01:00

9 lines
223 B
Plaintext

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