mirror of
https://github.com/github/codeql.git
synced 2025-12-17 01:03:14 +01:00
10 lines
275 B
Plaintext
10 lines
275 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
|