mirror of
https://github.com/github/codeql.git
synced 2025-12-17 17:23:36 +01:00
13 lines
244 B
Plaintext
13 lines
244 B
Plaintext
/**
|
|
* @name Test for anonymous methods
|
|
*/
|
|
|
|
import csharp
|
|
|
|
from Assignment assign, AnonymousMethodExpr e
|
|
where
|
|
assign.getLValue().(VariableAccess).getTarget().hasName("f8") and
|
|
e.getParent+() = assign and
|
|
e.hasNoParameters()
|
|
select e, e
|