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

15 lines
233 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