Files
codeql/csharp/ql/test/library-tests/generics/Generics26.ql
2018-12-20 10:19:59 +01:00

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"