mirror of
https://github.com/github/codeql.git
synced 2026-03-27 09:48:16 +01:00
13 lines
252 B
Plaintext
13 lines
252 B
Plaintext
/**
|
|
* @name Test for events
|
|
*/
|
|
import csharp
|
|
|
|
where forex(RemoveEventAccessor a |
|
|
a.fromSource() |
|
|
a.getParameter(0).hasName("value")
|
|
and a.getParameter(0).getType() = a.getDeclaration().getType()
|
|
and a.getNumberOfParameters() = 1)
|
|
select 1
|
|
|