mirror of
https://github.com/github/codeql.git
synced 2025-12-19 18:33:16 +01:00
14 lines
240 B
Plaintext
14 lines
240 B
Plaintext
/**
|
|
* @name Test for indexers
|
|
*/
|
|
|
|
import csharp
|
|
|
|
from Indexer i
|
|
where
|
|
i.getDeclaringType().hasQualifiedName("Indexers.BitArray") and
|
|
i.getType() instanceof BoolType and
|
|
i.getGetter().hasBody() and
|
|
i.getSetter().hasBody()
|
|
select i
|