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

25 lines
456 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