Files
codeql/csharp/ql/test/library-tests/dispatch/GetADynamicTarget.ql
2023-11-10 08:46:15 +01:00

9 lines
228 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.getFullyQualifiedNameWithTypes()