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

19 lines
484 B
Plaintext

import csharp
from CommentBlock b, Element e, string s
where
b.getElement() = e and
(
e instanceof ConstructedMethod or
e instanceof ConstructedClass or
e instanceof UnboundGenericClass or
e instanceof UnboundGenericMethod
) and
s = e.getAQlClass() and
not s = "SourceDeclarationType" and
not s = "SourceDeclarationCallable" and
not s = "SourceDeclarationMethod" and
not s = "NonConstructedMethod" and
not s = "RuntimeInstanceMethod"
select b, e, s