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