mirror of
https://github.com/github/codeql.git
synced 2026-04-27 17:55:19 +02:00
9 lines
273 B
Plaintext
9 lines
273 B
Plaintext
import csharp
|
|
|
|
from Method m, ExplicitDelegateCreation e
|
|
where m.hasName("MainDelegateAndMethodAccesses")
|
|
and e.getEnclosingCallable() = m
|
|
and e.getDelegateType().hasName("D")
|
|
and e.getArgument().(LocalFunctionAccess).getTarget().hasName("LocalFunction")
|
|
select m, e
|