Files
codeql/csharp/ql/test/library-tests/attributes/AttributeElements.ql
2024-04-09 10:31:48 +02:00

8 lines
277 B
Plaintext

import csharp
from Attributable element, Attribute attribute
where
attribute = element.getAnAttribute() and
(attribute.fromSource() or element.(Assembly).getName() in ["attributes", "Assembly1"])
select element, attribute, attribute.getType().getFullyQualifiedNameDebug()