mirror of
https://github.com/github/codeql.git
synced 2025-12-24 04:36:35 +01:00
10 lines
235 B
Plaintext
10 lines
235 B
Plaintext
import csharp
|
|
|
|
// Source declaration and unbound generic must be unique
|
|
where
|
|
not exists(ConstructedGeneric cg |
|
|
strictcount(cg.getSourceDeclaration+()) > 1 or
|
|
strictcount(cg.getUnboundGeneric()) > 1
|
|
)
|
|
select "Test passed"
|