mirror of
https://github.com/github/codeql.git
synced 2026-04-28 02:05:14 +02:00
12 lines
304 B
Plaintext
12 lines
304 B
Plaintext
/**
|
|
* @name Test for generics
|
|
*/
|
|
import csharp
|
|
|
|
from ConstructedClass aString, ConstructedClass bString
|
|
where aString.hasName("A<String>")
|
|
and bString.hasName("B<String>")
|
|
and aString.getSourceDeclaration().hasName("A<>")
|
|
and bString.getSourceDeclaration().hasName("B<>")
|
|
select aString, bString
|