mirror of
https://github.com/github/codeql.git
synced 2026-04-28 10:15:14 +02:00
13 lines
267 B
Plaintext
13 lines
267 B
Plaintext
/**
|
|
* @name Test for indexers
|
|
*/
|
|
import csharp
|
|
|
|
from Indexer i
|
|
where i.getDeclaringType().hasQualifiedName("Indexers.Grid")
|
|
and i.getType() instanceof IntType
|
|
and i.getParameter(0).getName() = "c"
|
|
and i.getParameter(0).getType() instanceof CharType
|
|
select i
|
|
|