Files
codeql/csharp/ql/test/library-tests/events/Events12.ql
2018-12-20 10:19:59 +01:00

14 lines
258 B
Plaintext

/**
* @name Test for events
*/
import csharp
where
forex(AddEventAccessor a | a.fromSource() |
a.getParameter(0).hasName("value") and
a.getParameter(0).getType() = a.getDeclaration().getType() and
a.getNumberOfParameters() = 1
)
select 1