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

14 lines
277 B
Plaintext

/**
* @name Test for indexers
*/
import csharp
from Indexer i
where
i.getDeclaringType().hasQualifiedName("Indexers.BitArray") and
i.getType() instanceof BoolType and
i.getParameter(0).getName() = "index" and
i.getParameter(0).getType() instanceof IntType
select i