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

13 lines
229 B
Plaintext

import csharp
from UnboundGenericInterface ugi, TypeParameter tp, string s
where
ugi.fromSource() and
ugi.getATypeParameter() = tp and
(
tp.isOut() and s = "out"
or
tp.isIn() and s = "in"
)
select ugi, tp, s