mirror of
https://github.com/github/codeql.git
synced 2026-02-27 04:13:51 +01:00
25 lines
456 B
Plaintext
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
|