mirror of
https://github.com/github/codeql.git
synced 2025-12-19 18:33:16 +01:00
12 lines
175 B
Plaintext
12 lines
175 B
Plaintext
/**
|
|
* @name Test for indexers
|
|
*/
|
|
|
|
import csharp
|
|
|
|
from Class c
|
|
where
|
|
c.hasQualifiedName("Indexers.BitArray") and
|
|
count(Indexer i | i.getDeclaringType() = c) = 1
|
|
select c
|