mirror of
https://github.com/github/codeql.git
synced 2026-04-30 11:15:13 +02:00
13 lines
275 B
Plaintext
13 lines
275 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
|
|
|