Files
codeql/csharp/ql/test/library-tests/generics/Generics26.ql
2018-08-02 17:53:23 +01:00

9 lines
227 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"