mirror of
https://github.com/github/codeql.git
synced 2025-12-24 04:36:35 +01:00
13 lines
223 B
Plaintext
13 lines
223 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
|