mirror of
https://github.com/github/codeql.git
synced 2026-04-28 02:05:14 +02:00
13 lines
268 B
Plaintext
13 lines
268 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(1).getName() = "col"
|
|
and i.getParameter(1).getType() instanceof IntType
|
|
select i
|
|
|