mirror of
https://github.com/github/codeql.git
synced 2026-03-23 16:06:47 +01:00
11 lines
238 B
Plaintext
11 lines
238 B
Plaintext
/**
|
|
* @name Test for generics
|
|
*/
|
|
import csharp
|
|
|
|
from ConstructedDelegateType d
|
|
where d.hasName("GenericDelegate<String>")
|
|
and d.getTypeArgument(0) instanceof StringType
|
|
and d.getParameter(0).getType() instanceof StringType
|
|
select d
|