mirror of
https://github.com/github/codeql.git
synced 2026-04-28 18:25:24 +02:00
11 lines
220 B
Plaintext
11 lines
220 B
Plaintext
/**
|
|
* @name Test for generics
|
|
*/
|
|
import csharp
|
|
|
|
from ConstructedClass gridInt, Indexer i
|
|
where gridInt.hasName("Grid<Int32>")
|
|
and i.getDeclaringType() = gridInt
|
|
and i.getType() instanceof IntType
|
|
select gridInt, i
|