Files
codeql/csharp/ql/test/library-tests/events/Events12.ql
2018-08-02 17:53:23 +01:00

13 lines
249 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