mirror of
https://github.com/github/codeql.git
synced 2025-12-20 10:46:30 +01:00
13 lines
221 B
Plaintext
13 lines
221 B
Plaintext
/**
|
|
* @name Test for generics
|
|
*/
|
|
|
|
import csharp
|
|
|
|
from UnboundGenericClass gridInt, Indexer i
|
|
where
|
|
gridInt.hasName("Grid<>") and
|
|
i.getDeclaringType() = gridInt and
|
|
i.getType() instanceof IntType
|
|
select gridInt, i
|