We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d1d2e7 commit 8ee27beCopy full SHA for 8ee27be
csharp/ql/test/library-tests/attributes/AttributeElements.ql
@@ -3,5 +3,5 @@ import csharp
3
from Attributable element, Attribute attribute
4
where
5
attribute = element.getAnAttribute() and
6
- (element.(Element).fromSource() or element.(Assembly).getName() in ["attributes", "Assembly1"])
+ (attribute.fromSource() or element.(Assembly).getName() in ["attributes", "Assembly1"])
7
select element, attribute, attribute.getType().getQualifiedName()
0 commit comments