mirror of
https://github.com/github/codeql.git
synced 2026-03-06 07:36:47 +01:00
13 lines
221 B
Plaintext
13 lines
221 B
Plaintext
/**
|
|
* @name Test for generics
|
|
*/
|
|
|
|
import csharp
|
|
|
|
from UnboundGenericDelegateType d
|
|
where
|
|
d.hasName("GenericDelegate<>") and
|
|
d.getTypeParameter(0).hasName("T") and
|
|
d.getParameter(0).getType().hasName("T")
|
|
select d
|